Pagini recente » Borderou de evaluare (job #210613) | Borderou de evaluare (job #210610) | Borderou de evaluare (job #2918138) | Borderou de evaluare (job #403419) | Borderou de evaluare (job #1297738)
Borderou de evaluare (job #1297738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:20:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", temp+1);
^
user.cpp:10:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:13:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 240kb | OK | 10 |
| 3 | 0ms | 244kb | OK | 10 |
| 4 | 0ms | 244kb | OK | 10 |
| 5 | 0ms | 248kb | OK | 10 |
| 6 | 8ms | 248kb | OK | 10 |
| 7 | 24ms | 256kb | OK | 10 |
| 8 | 36ms | 252kb | OK | 10 |
| 9 | 76ms | 256kb | OK | 10 |
| 10 | 80ms | 252kb | Incorect | 0 |
| Punctaj total | 90 |