Pagini recente » Borderou de evaluare (job #1219831) | Cod sursa (job #541007) | Borderou de evaluare (job #2791519) | Borderou de evaluare (job #2423676) | Borderou de evaluare (job #1224389)
Borderou de evaluare (job #1224389)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:13:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&nr1,&m2[i][0]);
^
user.cpp:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:29:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.in","r",stdin);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:16:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&nr1,&m2[i][0]);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | Incorect | 0 |
| 2 | 0ms | 448kb | Incorect | 0 |
| 3 | 0ms | 448kb | Incorect | 0 |
| 4 | 0ms | 448kb | Incorect | 0 |
| 5 | 0ms | 448kb | Incorect | 0 |
| 6 | 0ms | 444kb | Incorect | 0 |
| 7 | 0ms | 448kb | Incorect | 0 |
| 8 | 0ms | 452kb | Incorect | 0 |
| 9 | 0ms | 444kb | Incorect | 0 |
| 10 | 0ms | 448kb | Incorect | 0 |
| Punctaj total | 0 |