Pagini recente » Borderou de evaluare (job #1008626) | Borderou de evaluare (job #2697636) | Borderou de evaluare (job #2238027) | Borderou de evaluare (job #1082674) | Borderou de evaluare (job #2183936)
Borderou de evaluare (job #2183936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &begin[i]);
^
user.cpp:40:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &end[j]);
^
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("leduri.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("leduri.out", "w", stdout);
^
user.cpp:34:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &begin[i]);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &end[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | OK | 10 |
2 | 0ms | 856kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 756kb | OK | 10 |
5 | 0ms | 756kb | OK | 10 |
6 | 0ms | 856kb | OK | 10 |
7 | 0ms | 800kb | OK | 10 |
8 | 4ms | 872kb | OK | 10 |
9 | 0ms | 804kb | OK | 10 |
10 | 40ms | 948kb | OK | 10 |
Punctaj total | 100 |