Borderou de evaluare (job #2021824)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 14 septembrie 2017 19:43:56
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.in", "r", stdin); ^ user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.out", "w", stdout); ^ user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&l); ^ user.cpp:28:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:38:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ /tmp/ccCXDzuV.o: In function `main': user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbIncorect0
20ms448kbOK10
34ms544kbOK10
432ms844kbOK10
568ms1352kbOK10
6112ms1676kbOK10
7188ms1928kbOK10
8176ms1928kbOK10
9Depăşit2404kbTime limit exceeded.0
10Depăşit2424kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?