Pagini recente » Borderou de evaluare (job #1913744) | Borderou de evaluare (job #1790338) | Borderou de evaluare (job #867920) | Borderou de evaluare (job #2233812) | Borderou de evaluare (job #1387930)
Borderou de evaluare (job #1387930)
Raport evaluator
Compilare:
user.cpp: In function ‘void dreptunghi()’:
user.cpp:23:67: warning: operation on ‘t’ may be undefined [-Wsequence-point]
H[++t][cnt] = (A[i][j] == '0') ? H[t][cnt] + 1 : 0;
^
user.cpp:17:9: warning: unused variable ‘kk’ [-Wunused-variable]
int kk , nn , cnt , start , finish;
^
user.cpp: In function ‘int main()’:
user.cpp:73:13: warning: unused variable ‘y’ [-Wunused-variable]
int y = 0;
^
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bmatrix.in","r",stdin);
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bmatrix.out","w",stdout);
^
user.cpp:56:29: 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:59:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:59:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccLPm2Yy.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 |
Punctaj/grupa |
| 1 | 0ms | 284kb | OK | 4 | 4 |
| 2 | 0ms | 288kb | Incorect | 0 | 0 |
| 3 | 0ms | 284kb | OK | 4 | 4 |
| 4 | 0ms | 280kb | Incorect | 0 | 0 |
| 5 | 0ms | 284kb | Incorect | 0 | 0 |
| 6 | 0ms | 292kb | OK | 4 | 4 |
| 7 | 0ms | 284kb | Incorect | 0 | 0 |
| 8 | 0ms | 284kb | Incorect | 0 | 0 |
| 9 | 0ms | 296kb | Incorect | 0 | 0 |
| 10 | 0ms | 284kb | Incorect | 0 | 0 |
| 11 | 0ms | 296kb | OK | 4 | 4 |
| 12 | 0ms | 300kb | Incorect | 0 | 0 |
| 13 | 0ms | 296kb | Incorect | 0 | 0 |
| 14 | 0ms | 296kb | Incorect | 0 | 0 |
| 15 | 0ms | 300kb | Incorect | 0 | 0 |
| 16 | 0ms | 292kb | Incorect | 0 | 0 |
| 17 | 0ms | 300kb | Incorect | 0 |
| 18 | 0ms | 304kb | OK | 4 |
| 19 | 0ms | 304kb | Incorect | 0 |
| 20 | 0ms | 324kb | OK | 4 |
| 21 | 0ms | 312kb | OK | 4 |
| 22 | 0ms | 308kb | OK | 4 |
| 23 | 0ms | 316kb | Incorect | 0 |
| 24 | 4ms | 316kb | Incorect | 0 |
| 25 | 4ms | 316kb | Incorect | 0 |
| Punctaj total | 16 |