Pagini recente » Borderou de evaluare (job #1105993) | Cod sursa (job #3166662) | Borderou de evaluare (job #1024318) | Borderou de evaluare (job #1040240) | Borderou de evaluare (job #1302597)
Borderou de evaluare (job #1302597)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:39:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, hheads;
^
user.cpp: In function ‘int main()’:
user.cpp:84:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &story[i].time, &story[i].heads);
^
user.cpp:84:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:78:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "rt", stdin);
^
user.cpp:79:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "wt", stdout);
^
user.cpp:81:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &p, &k);
^
user.cpp:84:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &story[i].time, &story[i].heads);
^
user.cpp:88:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 296kb | Incorect | 0 |
3 | 68ms | 648kb | OK | 10 |
4 | Depăşit | 684kb | Time limit exceeded. | 0 |
5 | 8ms | 516kb | Incorect | 0 |
6 | 0ms | 340kb | OK | 10 |
7 | 0ms | 376kb | OK | 10 |
8 | 0ms | 296kb | OK | 10 |
9 | 44ms | 604kb | OK | 10 |
10 | 52ms | 616kb | OK | 10 |
Punctaj total | 70 |