Pagini recente » Borderou de evaluare (job #2664467) | Borderou de evaluare (job #1679688) | Borderou de evaluare (job #1311731) | Borderou de evaluare (job #1208582) | Borderou de evaluare (job #1190780)
Borderou de evaluare (job #1190780)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%d%d",&n,&m);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:25: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:22:28: 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:25: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 | 268kb | Incorect | 0 | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 268kb | Incorect | 0 |
10 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |