Pagini recente » Borderou de evaluare (job #1889993) | Borderou de evaluare (job #1885954) | Borderou de evaluare (job #1598948) | Borderou de evaluare (job #2043825) | Borderou de evaluare (job #1875085)
Borderou de evaluare (job #1875085)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d%d",&n,&m);
^
user.cpp:30:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d",&a[i]);
^
user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d",&b[i]);
^
user.cpp:30:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&n,&m);
^
user.cpp:32:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&a[i]);
^
user.cpp:34:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&b[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Lungime incorecta! | 0 |
| 2 | 0ms | 268kb | Lungime incorecta! | 0 |
| 3 | 0ms | 272kb | Lungime incorecta! | 0 |
| 4 | 0ms | 272kb | Lungime incorecta! | 0 |
| 5 | 0ms | 272kb | Lungime incorecta! | 0 |
| 6 | 0ms | 268kb | Lungime incorecta! | 0 |
| 7 | 0ms | 268kb | Lungime incorecta! | 0 |
| 8 | 0ms | 264kb | Lungime incorecta! | 0 |
| 9 | 0ms | 268kb | Lungime incorecta! | 0 |
| 10 | 0ms | 272kb | Lungime incorecta! | 0 |
| Punctaj total | 0 |