Pagini recente » Borderou de evaluare (job #1109769) | Borderou de evaluare (job #2189109) | Borderou de evaluare (job #1224408)
Borderou de evaluare (job #1224408)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:15:14: warning: unused variable ‘maxc’ [-Wunused-variable]
long maxc = n / a;
^
user.cpp:24:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", rez);
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tg.in", "r", stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tg.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 280kb | Incorect | 0 |
2 | 24ms | 280kb | Incorect | 0 |
3 | 12ms | 280kb | Incorect | 0 |
4 | 0ms | 284kb | OK | 5 |
5 | 8ms | 284kb | Incorect | 0 |
6 | 16ms | 284kb | Incorect | 0 |
7 | 12ms | 280kb | Incorect | 0 |
8 | 12ms | 280kb | Incorect | 0 |
9 | 32ms | 288kb | Incorect | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
11 | Depăşit | 252kb | Time limit exceeded. | 0 |
12 | Depăşit | 256kb | Time limit exceeded. | 0 |
13 | Depăşit | 256kb | Time limit exceeded. | 0 |
14 | Depăşit | 256kb | Time limit exceeded. | 0 |
15 | Depăşit | 260kb | Time limit exceeded. | 0 |
16 | Depăşit | 260kb | Time limit exceeded. | 0 |
17 | Depăşit | 252kb | Time limit exceeded. | 0 |
18 | Depăşit | 256kb | Time limit exceeded. | 0 |
19 | Depăşit | 252kb | Time limit exceeded. | 0 |
20 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 5 |