Pagini recente » Borderou de evaluare (job #2684412) | Borderou de evaluare (job #1570990) | Borderou de evaluare (job #1276319) | Borderou de evaluare (job #2790191) | Borderou de evaluare (job #1566658)
Borderou de evaluare (job #1566658)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix2.in","r",stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix2.out","w",stdout);
^
user.cpp:32: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:33:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) 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:33:35:
/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/ccKDFynp.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 5 |
2 | 0ms | 528kb | OK | 5 |
3 | 0ms | 1020kb | OK | 5 |
4 | 0ms | 1548kb | Incorect | 0 |
5 | 0ms | 1172kb | OK | 5 |
6 | 0ms | 316kb | OK | 5 |
7 | 12ms | 3232kb | Incorect | 0 |
8 | 12ms | 3812kb | Incorect | 0 |
9 | 8ms | 2052kb | OK | 5 |
10 | 24ms | 4992kb | OK | 5 |
11 | 36ms | 5580kb | Incorect | 0 |
12 | 40ms | 5880kb | OK | 5 |
13 | 32ms | 5436kb | OK | 5 |
14 | 4ms | 6164kb | Incorect | 0 |
15 | 0ms | 292kb | OK | 5 |
16 | 44ms | 6164kb | Incorect | 0 |
17 | 44ms | 6168kb | Incorect | 0 |
18 | 44ms | 6168kb | Incorect | 0 |
19 | 44ms | 6164kb | Incorect | 0 |
20 | 44ms | 6172kb | OK | 5 |
Punctaj total | 55 |