Pagini recente » Borderou de evaluare (job #1586965) | Borderou de evaluare (job #1151756) | Borderou de evaluare (job #361918) | Borderou de evaluare (job #244096) | Borderou de evaluare (job #1916243)
Borderou de evaluare (job #1916243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:15: warning: unused variable ‘m’ [-Wunused-variable]
int p, n, m, poz;
^
user.cpp:11:41: 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:12: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:17:28: 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:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
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:20:19:
/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/ccIyzBAz.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 76ms | 1064kb | OK. | 5 | 20 |
2 | 112ms | 1212kb | OK. | 5 |
3 | 0ms | 396kb | OK. | 5 |
4 | 12ms | 916kb | OK. | 5 |
5 | 0ms | 360kb | OK. | 3 | 3 |
6 | 32ms | 1088kb | OK. | 3 | 3 |
7 | 0ms | 320kb | OK. | 3 | 3 |
8 | 32ms | 784kb | OK. | 3 | 3 |
9 | 360ms | 1256kb | OK. | 4 | 4 |
10 | 92ms | 1240kb | OK. | 4 | 4 |
11 | 252ms | 1136kb | OK. | 4 | 4 |
12 | 152ms | 1192kb | OK. | 4 | 4 |
13 | 168ms | 1212kb | OK. | 4 | 4 |
14 | 88ms | 1252kb | OK. | 5 | 5 |
15 | 696ms | 1248kb | OK. | 5 | 5 |
16 | 396ms | 1244kb | OK. | 5 | 5 |
17 | 352ms | 1240kb | OK. | 5 | 5 |
18 | Depăşit | 1216kb | Time limit exceeded. | 0 | 0 |
19 | 880ms | 1252kb | OK. | 5 | 5 |
20 | 972ms | 1256kb | OK. | 6 | 6 |
21 | Depăşit | 1256kb | Time limit exceeded. | 0 | 0 |
22 | Depăşit | 1220kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 83 |