Pagini recente » Borderou de evaluare (job #3282731) | Borderou de evaluare (job #500881) | Borderou de evaluare (job #2975427) | Borderou de evaluare (job #2456633) | Borderou de evaluare (job #1408365)
Borderou de evaluare (job #1408365)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
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:91:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.in", "r", stdin);
^
user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.out", "w", stdout);
^
user.cpp:94: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 | Depăşit | 2596kb | Time limit exceeded. | 0 |
Punctaj total | 0 |