Pagini recente » Borderou de evaluare (job #1776117) | Borderou de evaluare (job #1275984) | Borderou de evaluare (job #1646919) | Borderou de evaluare (job #2404688) | Borderou de evaluare (job #1789230)
Borderou de evaluare (job #1789230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10002]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.in", "r", stdin);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[a[i]]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 284kb | OK | 10 |
| 7 | 0ms | 296kb | OK | 10 |
| 8 | 0ms | 356kb | OK | 10 |
| 9 | 4ms | 368kb | OK | 10 |
| 10 | 4ms | 360kb | OK | 10 |
| Punctaj total | 100 |