Borderou de evaluare (job #1795665)

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

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:36:50: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] for (int i = 1, j = 1, let; k >= 0 || i <= n && j <= m; k--) { ^ user.cpp: In function ‘int main()’: user.cpp:52: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:53: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:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &k); ^ user.cpp:58: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:59: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/ccxXFAmM.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ăşit4972kbTime limit exceeded.0
2Depăşit4968kbTime limit exceeded.0
3Depăşit4968kbTime limit exceeded.0
436ms4992kbOK10
5Depăşit4972kbTime limit exceeded.0
6Depăşit4968kbTime limit exceeded.0
7Depăşit4968kbTime limit exceeded.0
8Depăşit4972kbTime limit exceeded.0
9Depăşit4972kbTime limit exceeded.0
10Depăşit4972kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?