Pagini recente » Borderou de evaluare (job #113008) | Borderou de evaluare (job #1953435) | Borderou de evaluare (job #1232473) | Borderou de evaluare (job #3191944) | Borderou de evaluare (job #1667224)
Borderou de evaluare (job #1667224)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n1,&n2);
^
user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v1[x]);
^
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v2[y]);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n1,&n2);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v1[x]);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v2[y]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Lungime incorecta! | 0 |
| 2 | 0ms | 280kb | Lungime incorecta! | 0 |
| 3 | 0ms | 288kb | Lungime incorecta! | 0 |
| 4 | 0ms | 284kb | Lungime incorecta! | 0 |
| 5 | 0ms | 288kb | Lungime incorecta! | 0 |
| 6 | 0ms | 280kb | Lungime incorecta! | 0 |
| 7 | 0ms | 284kb | Lungime incorecta! | 0 |
| 8 | 0ms | 280kb | Lungime incorecta! | 0 |
| 9 | 0ms | 284kb | Lungime incorecta! | 0 |
| 10 | 0ms | 280kb | Lungime incorecta! | 0 |
| Punctaj total | 0 |