Borderou de evaluare (job #1525814)

Utilizator codi22FMI Condrea Florin codi22 Data 15 noiembrie 2015 16:46:59
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.in","r",stdin); ^ user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.out","w",stdout); ^ user.cpp:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i",&n,&b); ^ user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
20ms476kbOK10
30ms484kbOK10
40ms484kbOK10
50ms480kbOK10
68ms664kbOK10
74ms612kbOK10
8Depăşit2520kbTime limit exceeded.0
9Depăşit3288kbTime limit exceeded.0
10Depăşit2644kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?