Borderou de evaluare (job #2248844)

Utilizator UTCN_LittleEndianUTCN Falamas Modan Pop UTCN_LittleEndian Data 29 septembrie 2018 13:38:27
Problema Laundering Status done
Runda Nationala ACM ICPC 2018 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void generare()’: user.cpp:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(c);i++) ~^~~~~~~~~~ user.cpp:106:13: warning: label ‘peste’ defined but not used [-Wunused-label] peste: ^~~~~ user.cpp: In function ‘int main()’: user.cpp:155:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat=] scanf("%s",&c); ^ user.cpp: In function ‘int next_good_char_poz(int)’: user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:145:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("laundering.in","r",stdin); ^ user.cpp:146:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("laundering.out","w",stdout); ^ user.cpp:151:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:155:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit5224kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?