Borderou de evaluare (job #1591517)

Utilizator SmarandaMaria Pandele Smaranda Data 6 februarie 2016 13:02:56
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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 ("dinti.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 ("dinti.out", "w", stdout); ^ user.cpp:18:35: 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:19:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (A); ^ user.cpp:52:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (B); ^ /tmp/ccYG5wLO.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
10ms288kbOK10
20ms296kbOK10
34ms404kbOK10
428ms716kbOK10
560ms1300kbOK10
6112ms2116kbOK10
7164ms2916kbOK10
8164ms2916kbOK10
9Depăşit4520kbTime limit exceeded.0
10Depăşit4520kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?