Pagini recente » Borderou de evaluare (job #1363566) | Borderou de evaluare (job #1022345) | Borderou de evaluare (job #3142220) | Borderou de evaluare (job #2628163) | Borderou de evaluare (job #1699929)
Borderou de evaluare (job #1699929)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:51:32: 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:52:34: 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:54:19: 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 | 2264ms | 560kb | OK | 100 |
Punctaj total | 100 |