Pagini recente » Borderou de evaluare (job #3227155) | Borderou de evaluare (job #1858731) | Borderou de evaluare (job #2203006) | Borderou de evaluare (job #2756224) | Borderou de evaluare (job #1970831)
Borderou de evaluare (job #1970831)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8: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:9: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:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &m, &n);
^
user.cpp:13:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
user.cpp:19:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &chr);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:13: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/ccazK0ez.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 4428kb | OK | 5 |
2 | 28ms | 4476kb | OK | 5 |
3 | 28ms | 4516kb | OK | 5 |
4 | 28ms | 4592kb | OK | 5 |
5 | 28ms | 4676kb | OK | 5 |
6 | 28ms | 4656kb | OK | 5 |
7 | 28ms | 4712kb | OK | 5 |
8 | 32ms | 4896kb | OK | 5 |
9 | 32ms | 4944kb | OK | 5 |
10 | 36ms | 4988kb | OK | 5 |
11 | 44ms | 5480kb | OK | 5 |
12 | 64ms | 5972kb | OK | 5 |
13 | 84ms | 6068kb | OK | 5 |
14 | 112ms | 6560kb | OK | 5 |
15 | 168ms | 5568kb | OK | 5 |
16 | 156ms | 6760kb | OK | 5 |
17 | 232ms | 7856kb | OK | 5 |
18 | 220ms | 6692kb | OK | 5 |
19 | 220ms | 5700kb | OK | 5 |
20 | 224ms | 7216kb | OK | 5 |
Punctaj total | 100 |