Pagini recente » Borderou de evaluare (job #2304732) | Borderou de evaluare (job #2652081) | Borderou de evaluare (job #3283576) | Borderou de evaluare (job #2944529) | Borderou de evaluare (job #2643666)
Borderou de evaluare (job #2643666)
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 | OK! | 10 |
3 | 3ms | 131kb | OK! | 10 |
4 | 3ms | 131kb | OK! | 10 |
5 | 8ms | 262kb | OK! | 10 |
6 | 29ms | 786kb | OK! | 10 |
7 | 79ms | 2228kb | OK! | 10 |
8 | 240ms | 7340kb | OK! | 10 |
9 | 413ms | 12976kb | OK! | 10 |
10 | 517ms | 16408kb | OK! | 10 |
Punctaj total | 100 |