Pagini recente » Borderou de evaluare (job #2480762) | Borderou de evaluare (job #2361981) | Borderou de evaluare (job #1693211) | Borderou de evaluare (job #1397755) | Borderou de evaluare (job #1710924)
Borderou de evaluare (job #1710924)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fp, "%d%d%d", &muchii[i].varf1, &muchii[i].varf2, &muchii[i].cost);
^
user.cpp:55:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:55:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:74:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d\n%d\n", maxCost, newNrMuchii);
^
user.cpp:74:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:77:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d %d\n", newArb[i].varf1, newArb[i].varf2);
^
user.cpp:77:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:52:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d%d", &x, &y);
^
user.cpp:55:76: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%d%d%d", &muchii[i].varf1, &muchii[i].varf2, &muchii[i].cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Corect | 10 |
2 | 0ms | 272kb | Corect | 10 |
3 | 0ms | 312kb | Cost incorect | 0 |
4 | 4ms | 320kb | Cost incorect | 0 |
5 | 12ms | 368kb | Cost incorect | 0 |
6 | Depăşit | 2132kb | Time limit exceeded. | 0 |
7 | Depăşit | 3360kb | Time limit exceeded. | 0 |
8 | Depăşit | 1372kb | Time limit exceeded. | 0 |
9 | Depăşit | 1276kb | Time limit exceeded. | 0 |
10 | Depăşit | 2988kb | Time limit exceeded. | 0 |
Punctaj total | 20 |