Pagini recente » Borderou de evaluare (job #1801394) | Borderou de evaluare (job #3321292) | Borderou de evaluare (job #1146573) | Borderou de evaluare (job #2641015) | Borderou de evaluare (job #1800475)
Borderou de evaluare (job #1800475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &caz);
^
user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%lld%lld", &n, &p1, &p2);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out", "w", stdout);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &caz);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
user.cpp:43:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld%lld", &n, &p1, &p2);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 124ms | 2508kb | OK | 5 |
| 2 | 104ms | 2104kb | OK | 5 |
| 3 | 68ms | 1560kb | OK | 5 |
| 4 | 68ms | 1572kb | OK | 5 |
| 5 | 100ms | 2068kb | OK | 5 |
| 6 | 0ms | 1448kb | OK | 5 |
| 7 | 0ms | 1448kb | OK | 5 |
| 8 | 108ms | 1720kb | OK | 5 |
| 9 | 132ms | 1788kb | OK | 5 |
| 10 | 32ms | 1532kb | OK | 5 |
| 11 | 140ms | 1796kb | OK | 5 |
| 12 | 108ms | 1720kb | OK | 5 |
| 13 | 128ms | 1776kb | OK | 5 |
| 14 | 692ms | 3072kb | OK | 5 |
| 15 | Depăşit | 3656kb | Time limit exceeded. | 0 |
| 16 | 608ms | 2868kb | OK | 5 |
| 17 | Depăşit | 3604kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 3324kb | Time limit exceeded. | 0 |
| 19 | 592ms | 2840kb | OK | 5 |
| 20 | 40ms | 1056kb | OK | 5 |
| Punctaj total | 85 |