Borderou de evaluare (job #2440523)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 18 iulie 2019 17:05:40
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:18:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000002]' [-Wformat=] scanf("%s", &s); ^ main.cpp:22:26: warning: NULL used in arithmetic [-Wpointer-arith] for (int i = 0; s[i] != NULL; ++i) ^~~~ main.cpp:24:7: warning: unused variable 'x' [-Wunused-variable] int x = 1 + 1; // test to see if just walking the string goes out of time ^ main.cpp:18:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ main.cpp: In function 'int main()': main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in", "r", stdin); ^ main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.out", "w", stdout); ^ main.cpp:37:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
33ms131kbIncorect0
423ms655kbIncorect0
59ms262kbIncorect0
616ms393kbIncorect0
746ms786kbIncorect0
861ms1310kbIncorect0
97ms262kbIncorect0
102ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?