Pagini recente » Borderou de evaluare (job #1545238) | Borderou de evaluare (job #3127848) | Borderou de evaluare (job #1783831) | Borderou de evaluare (job #1856970)
Borderou de evaluare (job #1856970)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &x, &y);
^
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void Solve()’:
user.cpp:45:19: warning: unused variable ‘cost’ [-Wunused-variable]
short dad,cost;
^
user.cpp: In function ‘void Read()’:
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &N, &K);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in", "r", stdin);
^
user.cpp:72:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 560kb | OK | 5 |
2 | 0ms | 556kb | OK | 5 |
3 | 0ms | 564kb | OK | 5 |
4 | 0ms | 560kb | OK | 5 |
5 | 0ms | 556kb | OK | 5 |
6 | 0ms | 564kb | OK | 5 |
7 | 0ms | 572kb | OK | 5 |
8 | 0ms | 588kb | OK | 5 |
9 | 0ms | 580kb | OK | 5 |
10 | 0ms | 580kb | OK | 5 |
11 | 0ms | 616kb | OK | 5 |
12 | 0ms | 604kb | OK | 5 |
13 | 4ms | 636kb | OK | 5 |
14 | 4ms | 640kb | OK | 5 |
15 | 0ms | 620kb | OK | 5 |
16 | 4ms | 636kb | OK | 5 |
17 | 4ms | Depăşit | Memory limit exceeded. | 0 |
18 | 4ms | Depăşit | Memory limit exceeded. | 0 |
19 | 8ms | Depăşit | Memory limit exceeded. | 0 |
20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |