Borderou de evaluare (job #414527)

Utilizator avatar ucenic_info Vladimirescu Tudor ucenic_info IP ascuns
Problemă Url Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 dec. 2018 14:54:01 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void checkProtocol(char*)’: user.cpp:21:35: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:25:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:29:35: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:33:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkUsrname(char*)’: user.cpp:71:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkPass(char*)’: user.cpp:97:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkHost(char*)’: user.cpp:156:22: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘void checkPort(char*)’: user.cpp:180:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp: In function ‘int main()’: user.cpp:205:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1020]’ [-Wformat] user.cpp:210:56: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:211:55: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:212:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:213:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:214:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:215:52: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:202:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:205:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 264 kb OK 10
2 0 ms 268 kb OK 10
3 0 ms 264 kb OK 10
4 0 ms 264 kb OK 10
5 0 ms 264 kb OK 10
6 0 ms 272 kb OK 10
7 0 ms 264 kb OK 10
8 0 ms 268 kb OK 10
9 0 ms 264 kb OK 10
10 0 ms 264 kb OK 10
Punctaj total 100