Pagini recente » Borderou de evaluare (job #362915) | Borderou de evaluare (job #261667) | Borderou de evaluare (job #906678) | Borderou de evaluare (job #2170785) | Borderou de evaluare (job #1190795)
Borderou de evaluare (job #1190795)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%d %d",&n,&m);
^
user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:24:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for(j=1;j<=m;j++) fscanf(fi,"%d",&a[i][j]);
^
user.cpp:21:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d",&n,&m);
^
user.cpp:24:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m;j++) fscanf(fi,"%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Incorect | 0 | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |