Borderou de evaluare (job #1623035)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 1 martie 2016 16:42:57
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in", "r", stdin); ^ user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out", "w", stdout); ^ user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:56:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff); ^ user.cpp:75:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &q); ^ user.cpp:77:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff); ^ /tmp/ccfW6TYj.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
172ms436kbOK5
2108ms460kbOK5
3Depăşit572kbTime limit exceeded.0
416ms364kbOK5
592ms452kbOK5
6168ms540kbOK5
7144ms536kbOK5
844ms444kbOK5
940ms432kbOK5
10Depăşit740kbTime limit exceeded.0
11Depăşit608kbTime limit exceeded.0
12Depăşit696kbTime limit exceeded.0
13Depăşit756kbTime limit exceeded.0
14Depăşit760kbTime limit exceeded.0
15Depăşit760kbTime limit exceeded.0
16Depăşit760kbTime limit exceeded.0
17Depăşit760kbTime limit exceeded.0
18Depăşit760kbTime limit exceeded.0
19Depăşit764kbTime limit exceeded.0
20Depăşit760kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?