Borderou de evaluare (job #2296809)

Utilizator cahemanCasian Patrascanu caheman Data 5 decembrie 2018 00:51:37
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool verif(long long int)': main.cpp:30:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 0; i < lung[m]; ++ i) ^~~ main.cpp:33:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(lung[m] == 1) ^~ main.cpp: In function 'int main()': main.cpp:44:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10000005]' [-Wformat=] scanf("%s", &text); ^ main.cpp:50:25: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[25]' [-Wformat=] while(scanf("%s", &cuv) != EOF) ^ main.cpp:43:13: warning: unused variable 'j' [-Wunused-variable] int n, i, j, nr = 0, m = 0; ^ main.cpp:40:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ main.cpp:41:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ main.cpp:44:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &text); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
167ms31326kbOK100
266ms31326kbOK10
368ms31719kbOK10
476ms32636kbOK10
5116ms37224kbIncorect0
6264ms38404kbIncorect0
7810ms43122kbIncorect0
8901ms48103kbTime limit exceeded0
9901ms48103kbTime limit exceeded0
10900ms48103kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?