Pagini recente » Borderou de evaluare (job #831456) | Borderou de evaluare (job #2789115) | Borderou de evaluare (job #3175267) | Borderou de evaluare (job #2832888) | Borderou de evaluare (job #1856941)
Borderou de evaluare (job #1856941)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:25:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &x, &y);
^
user.cpp:25: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:44:19: warning: variable ‘cost’ set but not used [-Wunused-but-set-variable]
short dad,cost;
^
user.cpp: In function ‘void Read()’:
user.cpp:20: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:25: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:72: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:73: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 | 556kb | OK | 5 |
| 2 | 0ms | 556kb | OK | 5 |
| 3 | 0ms | 556kb | OK | 5 |
| 4 | 0ms | 556kb | OK | 5 |
| 5 | 0ms | 560kb | OK | 5 |
| 6 | 0ms | 556kb | OK | 5 |
| 7 | 0ms | 568kb | OK | 5 |
| 8 | 0ms | 588kb | OK | 5 |
| 9 | 0ms | 580kb | OK | 5 |
| 10 | 0ms | 584kb | OK | 5 |
| 11 | 0ms | 612kb | OK | 5 |
| 12 | 0ms | 600kb | OK | 5 |
| 13 | 4ms | 640kb | OK | 5 |
| 14 | 4ms | 632kb | OK | 5 |
| 15 | 0ms | 616kb | 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 |