Pagini recente » Borderou de evaluare (job #2452360) | Borderou de evaluare (job #271594) | Borderou de evaluare (job #2485290) | Borderou de evaluare (job #3288139) | Borderou de evaluare (job #1408347)
Borderou de evaluare (job #1408347)
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:92: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:93: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:95: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 | 584ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |