Nu aveti permisiuni pentru a descarca fisierul sponge14.jpg
Borderou de evaluare (job #1566659)
Utilizator | Data | 12 ianuarie 2016 14:15:27 | |
---|---|---|---|
Problema | Matrix2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 60 |
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: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:40: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/ccoohNej.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 | 324kb | OK | 5 |
2 | 0ms | 532kb | OK | 5 |
3 | 0ms | 1016kb | OK | 5 |
4 | 0ms | 1544kb | Incorect | 0 |
5 | 0ms | 1168kb | OK | 5 |
6 | 0ms | 312kb | OK | 5 |
7 | 12ms | 3232kb | Incorect | 0 |
8 | 12ms | 3816kb | Incorect | 0 |
9 | 8ms | 2052kb | OK | 5 |
10 | 24ms | 4992kb | OK | 5 |
11 | 36ms | 5580kb | Incorect | 0 |
12 | 40ms | 5876kb | OK | 5 |
13 | 32ms | 5428kb | OK | 5 |
14 | 4ms | 6168kb | OK | 5 |
15 | 0ms | 300kb | OK | 5 |
16 | 44ms | 6172kb | Incorect | 0 |
17 | 44ms | 6164kb | Incorect | 0 |
18 | 44ms | 6168kb | Incorect | 0 |
19 | 44ms | 6168kb | Incorect | 0 |
20 | 44ms | 6168kb | OK | 5 |
Punctaj total | 60 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !