Pagini recente » Borderou de evaluare (job #1211323) | Borderou de evaluare (job #658841) | Borderou de evaluare (job #66108) | Rating aaa Dani (ItsTheFBI) | Borderou de evaluare (job #2258696)
Borderou de evaluare (job #2258696)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:15:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %c\n",&v[i],&opt[i]);
^
user.cpp:19:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:11:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n",&v[i],&opt[i]);
^
user.cpp:19:19: 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 | 36ms | 1804kb | OK | 5 |
| 2 | 0ms | 1320kb | Primul numar corect | 1 |
| 3 | 36ms | 1804kb | OK | 5 |
| 4 | 36ms | 1804kb | OK | 5 |
| 5 | 0ms | 1328kb | OK | 5 |
| 6 | 0ms | 1320kb | OK | 5 |
| 7 | 0ms | 1320kb | OK | 5 |
| 8 | 0ms | 1324kb | OK | 5 |
| 9 | 12ms | 1520kb | OK | 5 |
| 10 | 16ms | 1572kb | OK | 5 |
| 11 | 0ms | 1332kb | OK | 5 |
| 12 | 28ms | 1716kb | OK | 5 |
| 13 | 28ms | 1704kb | OK | 5 |
| 14 | 0ms | 1328kb | OK | 5 |
| 15 | 0ms | 1324kb | Primul numar corect | 1 |
| 16 | 0ms | 1324kb | Primul numar corect | 1 |
| 17 | 36ms | 1800kb | OK | 5 |
| 18 | 36ms | 1800kb | OK | 5 |
| 19 | 24ms | 1728kb | OK | 5 |
| 20 | 0ms | 1320kb | Primul numar corect | 1 |
| Punctaj total | 84 |