Pagini recente » Borderou de evaluare (job #2228666) | Borderou de evaluare (job #854717) | Borderou de evaluare (job #843659) | Borderou de evaluare (job #822514) | Borderou de evaluare (job #1256788)
Borderou de evaluare (job #1256788)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d\n", s[r] + (k-r) * (intrebare - 1));
^
user.cpp:35: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:36: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:38: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:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:48:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:51: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 | 264kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 8ms | 348kb | Incorect | 0 |
4 | 20ms | 444kb | OK | 10 |
5 | 32ms | 504kb | OK | 10 |
6 | 44ms | 584kb | Incorect | 0 |
7 | 60ms | 752kb | OK | 10 |
8 | 80ms | 860kb | Incorect | 0 |
9 | 108ms | 972kb | Incorect | 0 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 60 |