Borderou de evaluare (job #1795657)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 2 noiembrie 2016 19:22:40
Problema Seif Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:34:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] for (int i = 1, j = 1; k >= 0 || i <= n && j <= m; k--) { ^ user.cpp: In function ‘int main()’: user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seif.in", "r", stdin); ^ user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("seif.out", "w", stdout); ^ user.cpp:51:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &k); ^ user.cpp:54:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); n = strlen(a+1); ^ user.cpp:55:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b+1); m = strlen(b+1); ^ /tmp/ccPVDSsH.o: In function `main': user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit600kbTime limit exceeded.0
2Depăşit860kbTime limit exceeded.0
3Depăşit1508kbTime limit exceeded.0
424ms2616kbIncorect0
548ms3700kbIncorect0
6Depăşit3888kbTime limit exceeded.0
7Depăşit4320kbTime limit exceeded.0
8Depăşit4764kbTime limit exceeded.0
9Depăşit4764kbTime limit exceeded.0
10Depăşit4760kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?