Borderou de evaluare (job #1468996)

Utilizator vladrochianVlad Rochian vladrochian Data 7 august 2015 14:42:32
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:13: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:14: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:15: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:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(str); ^ /tmp/cc23qLx6.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms272kbOK10
2Depăşit256kbTime limit exceeded.0
3Depăşit260kbTime limit exceeded.0
4Depăşit252kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?