Borderou de evaluare (job #1256795)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%u\n", s[r] + (k-r) * (intrebare - 1));
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in", "r", stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out", "w", stdout);
^
user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &intrebare);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 8ms | 352kb | OK | 10 |
4 | 20ms | 436kb | OK | 10 |
5 | 32ms | 500kb | OK | 10 |
6 | 44ms | 580kb | OK | 10 |
7 | 60ms | 756kb | OK | 10 |
8 | 80ms | 860kb | OK | 10 |
9 | 108ms | 972kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |