Borderou de evaluare (job #1677212)

Utilizator vladttturcuman vlad vladtt Data 6 aprilie 2016 13:42:42
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:95:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &str); ^ user.cpp:106:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &word); ^ user.cpp:86:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carte.in", "r", stdin); ^ user.cpp:89:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &str); ^ user.cpp:102:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:106:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &word); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit460kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?