Borderou de evaluare (job #1886458)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 20 februarie 2017 21:42:27
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ user.cpp:48:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(text); ^ user.cpp:49:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", cuv); ^ user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", cuv); ^ /tmp/cclP6ohb.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK100
20ms440kbOK10
30ms496kbOK10
44ms628kbOK10
540ms1056kbOK10
6180ms2108kbOK10
7860ms6596kbOK10
8Depăşit11584kbTime limit exceeded.0
9Depăşit11584kbTime limit exceeded.0
10Depăşit11592kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?