Borderou de evaluare (job #1031518)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d %d", &n, &x);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(o, "%d", a + 1);
^
user.cpp:22:13: warning: unused variable ‘b’ [-Wunused-variable]
long x, a, b,i;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 396kb | Romania castiga | 10 |
| ✓ | 2 | 0ms | 396kb | Romania castiga | 10 |
| ✓ | 3 | 0ms | 400kb | Romania castiga | 10 |
| ✓ | 4 | 0ms | 396kb | Romania castiga | 10 |
| ✓ | 5 | 0ms | 392kb | Romania castiga | 10 |
| ✓ | 6 | 0ms | 396kb | Grecia castiga | 0 |
| ✓ | 7 | 0ms | 400kb | Grecia castiga | 0 |
| ✓ | 8 | 0ms | 400kb | Grecia castiga | 0 |
| ✓ | 9 | 0ms | 396kb | Grecia castiga | 0 |
| ✓ | 10 | 0ms | 400kb | Grecia castiga | 0 |
| Punctaj total | 50 |