Pagini recente » Borderou de evaluare (job #3126767) | Borderou de evaluare (job #1632305) | Borderou de evaluare (job #1414958) | Borderou de evaluare (job #1172775) | Borderou de evaluare (job #1292411)
Borderou de evaluare (job #1292411)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix.in", "r", stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrix.out", "w", stdout);
^
user.cpp:16: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:18:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
user.cpp:17:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i, scanf("\n"))
^
user.cpp:20:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 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:18:23:
/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/cc3dFvab.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0xbd): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | OK | 5 |
2 | 0ms | 416kb | OK | 5 |
3 | 0ms | 496kb | OK | 5 |
4 | 0ms | 616kb | OK | 5 |
5 | 0ms | 724kb | OK | 5 |
6 | 0ms | 820kb | OK | 5 |
7 | 0ms | 924kb | OK | 5 |
8 | 4ms | 1104kb | OK | 5 |
9 | 4ms | 1308kb | OK | 5 |
10 | 8ms | 1368kb | OK | 5 |
11 | 16ms | 1960kb | OK | 5 |
12 | 28ms | 2552kb | OK | 5 |
13 | 40ms | 3040kb | OK | 5 |
14 | 60ms | 3624kb | OK | 5 |
15 | 136ms | 4912kb | OK | 5 |
16 | 104ms | 4616kb | OK | 5 |
17 | 192ms | 5992kb | OK | 5 |
18 | 128ms | 5532kb | OK | 5 |
19 | 160ms | 5696kb | OK | 5 |
20 | 156ms | 5696kb | OK | 5 |
Punctaj total | 100 |