Pagini recente » Borderou de evaluare (job #500671) | Borderou de evaluare (job #916180) | Borderou de evaluare (job #196073) | Borderou de evaluare (job #326336) | Borderou de evaluare (job #1256792)
Borderou de evaluare (job #1256792)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:48: 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 | 348kb | Incorect | 0 |
4 | 20ms | 440kb | OK | 10 |
5 | 32ms | 504kb | OK | 10 |
6 | 44ms | 580kb | Incorect | 0 |
7 | 60ms | 756kb | OK | 10 |
8 | 84ms | 856kb | Incorect | 0 |
9 | 112ms | 972kb | Incorect | 0 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 60 |