Pagini recente » Borderou de evaluare (job #3216726) | Borderou de evaluare (job #130987) | Borderou de evaluare (job #2173756) | Borderou de evaluare (job #3237805) | Borderou de evaluare (job #2296044)
Borderou de evaluare (job #2296044)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &saltele[i]);
^
main.cpp:51:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", cautbin());
^
main.cpp:45:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "r", stdin);
^
main.cpp:46:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "w", stdout);
^
main.cpp:48:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:50:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &saltele[i]);
^
main.cpp: In function 'long long int cautbin()':
main.cpp:40:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 5ms | 131kb | OK | 10 |
| 6 | 6ms | 262kb | OK | 10 |
| 7 | 7ms | 262kb | OK | 10 |
| 8 | 8ms | 262kb | OK | 10 |
| 9 | 8ms | 262kb | OK | 10 |
| 10 | 8ms | 262kb | OK | 10 |
| Punctaj total | 80 |