Pagini recente » Borderou de evaluare (job #2474047) | Borderou de evaluare (job #212741) | Borderou de evaluare (job #3210145) | Borderou de evaluare (job #3284908) | Borderou de evaluare (job #1187684)
Borderou de evaluare (job #1187684)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:77:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 748ms | 1020kb | OK | 100 |
Punctaj total | 100 |