Pagini recente » Borderou de evaluare (job #2516741) | Borderou de evaluare (job #2398462) | Borderou de evaluare (job #2254353) | Borderou de evaluare (job #1079235) | Borderou de evaluare (job #2280317)
Borderou de evaluare (job #2280317)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:10:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("eq4.in", "r",stdin);
^
main.cpp:11:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.out", "w",stdout);
^
main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &cer);
^
main.cpp:15:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
main.cpp:58:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld", &a, &b, &e);
^
main.cpp:34:30: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
nr=nr*10+s[i]-'0';
~~^~~
main.cpp:37:23: warning: 'semn' may be used uninitialized in this function [-Wmaybe-uninitialized]
nr*=semn;
~~^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 1 |
| 2 | 2ms | 131kb | Corect | 1 |
| 3 | 2ms | 131kb | Corect | 4 |
| 4 | 2ms | 131kb | Corect | 4 |
| 5 | 2ms | 131kb | Corect | 5 |
| 6 | 2ms | 131kb | Corect | 5 |
| 7 | 4ms | 262kb | Corect | 5 |
| 8 | 10ms | 262kb | Corect | 5 |
| 9 | 2ms | 131kb | Corect | 5 |
| 10 | 4ms | 262kb | Corect | 5 |
| 11 | 2ms | 131kb | Corect | 5 |
| 12 | 20ms | 786kb | Corect | 5 |
| 13 | 1503ms | 64356kb | Time limit exceeded | 0 |
| 14 | 503ms | 23199kb | Corect | 5 |
| 15 | 658ms | 62652kb | Corect | 5 |
| 16 | 374ms | 41287kb | Corect | 5 |
| 17 | 3ms | 131kb | Corect | 5 |
| 18 | 496ms | 52428kb | Corect | 5 |
| 19 | 563ms | 41418kb | Corect | 5 |
| 20 | 281ms | 1572kb | Corect | 5 |
| 21 | 22ms | 2883kb | Corect | 5 |
| 22 | 308ms | 3538kb | Corect | 5 |
| Punctaj total | 95 |