Borderou de evaluare (job #1691368)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 18 aprilie 2016 09:29:15
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<=strlen(s);i++) ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("secventa.in","r",stdin); ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("secventa.out","w",stdout); ^ user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &n, &k); ^ user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccx89y7P.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
2Depăşit360kbTime limit exceeded.0
3Depăşit636kbTime limit exceeded.0
4Depăşit692kbTime limit exceeded.0
5Depăşit844kbTime limit exceeded.0
6Depăşit960kbTime limit exceeded.0
7Depăşit1428kbTime limit exceeded.0
8Depăşit2020kbTime limit exceeded.0
9Depăşit2608kbTime limit exceeded.0
10Depăşit3192kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?