Pagini recente » Cod sursa (job #562174) | Borderou de evaluare (job #1254234) | Atasamentele paginii Profil calenici | Cod sursa (job #625372) | Borderou de evaluare (job #1268572)
Borderou de evaluare (job #1268572)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare(int)’:
user.cpp:14:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d ", v[a]);
^
user.cpp: In function ‘int main()’:
user.cpp:23:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]);
^
user.cpp:20: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:23:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | Lungime incorecta! | 0 | 0 |
| 2 | 8ms | 348kb | Subsir incorect! | 5 | 5 |
| 3 | 0ms | 248kb | Lungime incorecta! | 0 | 0 |
| 4 | 0ms | 252kb | Lungime incorecta! | 0 | 0 |
| 5 | 0ms | 256kb | Lungime incorecta! | 0 | 0 |
| 6 | 8ms | 264kb | Lungime incorecta! | 0 | 0 |
| 7 | 12ms | 264kb | Lungime incorecta! | 0 | 0 |
| 8 | Depăşit | 700kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 800kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 696kb | Time limit exceeded. | 0 |
| Punctaj total | 5 |