Pagini recente » Borderou de evaluare (job #2823454) | Borderou de evaluare (job #994781) | Borderou de evaluare (job #1706073) | Borderou de evaluare (job #994326) | Borderou de evaluare (job #2308227)
Borderou de evaluare (job #2308227)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long unsigned int*' [-Wformat=]
fscanf( fin, "%d %d", &p, &n);
^
main.cpp:27:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
fprintf( fout, "%d\n", s);
^
main.cpp:52:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
fprintf( fout, "%d\n", s);
^
main.cpp:18:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d %d", &p, &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | OK | 4 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | OK | 4 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | Incorect | 0 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 2ms | 131kb | OK | 4 |
| 14 | 2ms | 131kb | OK | 4 |
| 15 | 2ms | 131kb | OK | 4 |
| 16 | 2ms | 131kb | OK | 4 |
| 17 | 2ms | 131kb | OK | 4 |
| 18 | 2ms | 131kb | OK | 4 |
| 19 | 2ms | 131kb | OK | 4 |
| 20 | 2ms | 131kb | Incorect | 0 |
| 21 | 2ms | 131kb | Incorect | 0 |
| 22 | 2ms | 131kb | Incorect | 0 |
| 23 | 2ms | 131kb | Incorect | 0 |
| 24 | 2ms | 131kb | OK | 4 |
| 25 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 40 |