Borderou de evaluare (job #1468993)

Utilizator vladrochianVlad Rochian vladrochian Data 7 august 2015 14:30:04
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in", "r", stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out", "w", stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:20:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(l); ^ /tmp/ccKpl0hG.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms292kbOK10
2Depăşit272kbTime limit exceeded.0
3Depăşit284kbTime limit exceeded.0
4Depăşit284kbTime limit exceeded.0
5Depăşit272kbTime limit exceeded.0
6Depăşit288kbTime limit exceeded.0
7Depăşit288kbTime limit exceeded.0
8Depăşit280kbTime limit exceeded.0
9Depăşit288kbTime limit exceeded.0
10Depăşit292kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?