Pagini recente » Borderou de evaluare (job #2078932) | Borderou de evaluare (job #154985) | Borderou de evaluare (job #1659195) | Borderou de evaluare (job #1057376) | Borderou de evaluare (job #1274294)
Borderou de evaluare (job #1274294)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(f, "%u%u", &x, &y);
^
user.cpp:9:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:27:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(g, "%u %u", y/yval, ysol);
^
user.cpp:27:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=]
user.cpp:8:27: warning: unused variable ‘xsol’ [-Wunused-variable]
unsigned long long x, y, xsol, ysol, yval, temp;
^
user.cpp:9:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%u%u", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | Incorect | 0 |
| 2 | 0ms | 240kb | Incorect | 0 |
| 3 | 0ms | 240kb | Incorect | 0 |
| 4 | 0ms | 236kb | Corect | 10 |
| 5 | 0ms | 240kb | Incorect | 0 |
| 6 | 0ms | 244kb | Incorect | 0 |
| 7 | 0ms | 240kb | Incorect | 0 |
| 8 | 0ms | 240kb | Incorect | 0 |
| 9 | 0ms | 244kb | Incorect | 0 |
| 10 | 0ms | 240kb | Incorect | 0 |
| Punctaj total | 10 |