Pagini recente » Borderou de evaluare (job #1721157) | Borderou de evaluare (job #2329914) | Borderou de evaluare (job #2254067) | Borderou de evaluare (job #1291942) | Borderou de evaluare (job #2606587)
Borderou de evaluare (job #2606587)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:56:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:56:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:59:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &arr[i]);
^
main.cpp: In function 'int max_intervals(int, int, int)':
main.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:53:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
main.cpp:56:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:59:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]);
^
main.cpp:66:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &operation, &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 11ms | 131kb | Incorect | 0 | 0 |
| 3 | 16ms | 262kb | Incorect | 0 | 0 |
| 4 | 44ms | 393kb | Incorect | 0 | 0 |
| 5 | 72ms | 2883kb | Incorect | 0 | 0 |
| 6 | 115ms | 3014kb | Incorect | 0 | 0 |
| 7 | 216ms | 3670kb | Incorect | 0 |
| 8 | 155ms | 3145kb | Incorect | 0 |
| 9 | 176ms | 3276kb | Incorect | 0 |
| 10 | 208ms | 3391kb | Incorect | 0 |
| Punctaj total | 10 |