Pagini recente » Cod sursa (job #2966017) | Cod sursa (job #3230155) | Borderou de evaluare (job #2022157) | Borderou de evaluare (job #1720004) | Borderou de evaluare (job #1566674)
Borderou de evaluare (job #1566674)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36: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:37: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:39: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:40:33: 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]);
^
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:40:33:
/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/ccugL2ZA.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 | 532kb | OK | 5 |
3 | 0ms | 1020kb | OK | 5 |
4 | 0ms | 1548kb | Incorect | 0 |
5 | 0ms | 1164kb | OK | 5 |
6 | 0ms | 320kb | OK | 5 |
7 | 12ms | 3224kb | Incorect | 0 |
8 | 12ms | 3816kb | Incorect | 0 |
9 | 8ms | 2052kb | OK | 5 |
10 | 24ms | 4992kb | OK | 5 |
11 | 36ms | 5584kb | Incorect | 0 |
12 | 40ms | 5872kb | OK | 5 |
13 | 32ms | 5432kb | OK | 5 |
14 | 4ms | 6168kb | Incorect | 0 |
15 | 0ms | 296kb | OK | 5 |
16 | 44ms | 6164kb | Incorect | 0 |
17 | 44ms | 6172kb | Incorect | 0 |
18 | 44ms | 6168kb | Incorect | 0 |
19 | 44ms | 6164kb | Incorect | 0 |
20 | 44ms | 6168kb | OK | 5 |
Punctaj total | 55 |