Pagini recente » Borderou de evaluare (job #1921031) | Borderou de evaluare (job #401277) | Borderou de evaluare (job #292882) | Borderou de evaluare (job #2054592) | Borderou de evaluare (job #2643663)
Borderou de evaluare (job #2643663)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:33:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("mstack.in", "r", stdin);
^
main.cpp:34:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mstack.out", "w", stdout);
^
main.cpp:36:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:38:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 3ms | 131kb | Incorect! | 0 |
| 3 | 3ms | 131kb | OK! | 10 |
| 4 | 3ms | 131kb | OK! | 10 |
| 5 | 8ms | 262kb | OK! | 10 |
| 6 | 27ms | 786kb | Incorect! | 0 |
| 7 | 79ms | 2228kb | Incorect! | 0 |
| 8 | 232ms | 6815kb | Incorect! | 0 |
| 9 | 406ms | 12976kb | OK! | 10 |
| 10 | 447ms | 15597kb | Incorect! | 0 |
| Punctaj total | 50 |