Borderou de evaluare (job #1898340)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<len; i++)
^
user.cpp:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<len; i++)
^
user.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<len; j++)
^
user.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<max; i++) printf("%c", ss[i]);
^
user.cpp:56:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int q=0; q<lenj; q++)
^
user.cpp:59:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == leni) break;
^
user.cpp:61:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == leni)
^
user.cpp:74:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<len; j++) printf("%c", s[v[i]][j]);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &p, &n);
^
user.cpp:20:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:44:37: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=n; i++) gets(s[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:44:37:
/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/ccbG1eIs.o: In function `main':
user.cpp:(.text.startup+0xa4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK. | 5 | 20 |
2 | 0ms | 272kb | OK. | 5 |
3 | 0ms | 276kb | OK. | 5 |
4 | 0ms | 268kb | OK. | 5 |
5 | 0ms | 352kb | OK. | 3 | 3 |
6 | 52ms | 1068kb | OK. | 3 | 3 |
7 | 0ms | 316kb | OK. | 3 | 3 |
8 | 136ms | 788kb | OK. | 3 | 3 |
9 | 240ms | 1252kb | OK. | 4 | 4 |
10 | 348ms | 1232kb | OK. | 4 | 4 |
11 | 192ms | 1140kb | OK. | 4 | 4 |
12 | 348ms | 1192kb | OK. | 4 | 4 |
13 | 368ms | 1216kb | OK. | 4 | 4 |
14 | 348ms | 1248kb | OK. | 5 | 5 |
15 | 276ms | 1252kb | OK. | 5 | 5 |
16 | 488ms | 1248kb | OK. | 5 | 5 |
17 | 392ms | 1236kb | OK. | 5 | 5 |
18 | 464ms | 1240kb | OK. | 5 | 5 |
19 | 528ms | 1248kb | OK. | 5 | 5 |
20 | 744ms | 1252kb | OK. | 6 | 6 |
21 | 720ms | 1256kb | OK. | 6 | 6 |
22 | 608ms | 1252kb | OK. | 6 | 6 |
Punctaj total | 100 |