Borderou de evaluare (job #2106437)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 15 ianuarie 2018 19:39:06
Problema Tarc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:97:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarc.in", "r", stdin); ^ user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarc.out", "w", stdout); ^ user.cpp:101:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:105:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:110:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccJh2j9K.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
220ms284kbOK10
3284ms424kbOK10
41200ms896kbOK10
5Depăşit1204kbTime limit exceeded.0
6Depăşit1360kbTime limit exceeded.0
7Depăşit1516kbTime limit exceeded.0
8Depăşit1672kbTime limit exceeded.0
9Depăşit1824kbTime limit exceeded.0
10Depăşit1824kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?