Pagini recente » Borderou de evaluare (job #1356146) | Borderou de evaluare (job #448112) | Borderou de evaluare (job #2361388) | Borderou de evaluare (job #2557346) | Borderou de evaluare (job #1728484)
Borderou de evaluare (job #1728484)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:69:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, maxN, stdin);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:75:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &v[i].x, &v[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:112:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.in", "r", stdin);
^
user.cpp:113:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.out", "w", stdout);
^
user.cpp:114:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 340ms | 2412kb | Raspuns gresit! | 0 |
Punctaj total | 0 |