Pagini recente » Borderou de evaluare (job #1119985) | Borderou de evaluare (job #1765593) | Borderou de evaluare (job #156697) | Borderou de evaluare (job #2018116) | Borderou de evaluare (job #2018858)
Borderou de evaluare (job #2018858)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:46:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < h[pref][pp].size(); ++ i) {
^
user.cpp: In function ‘int main()’:
user.cpp:82:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:83:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:86:28: 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:90:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:98:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:100:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[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:90:21:
/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/ccocU1hM.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 208ms | 2432kb | OK | 5 |
2 | 216ms | 2436kb | OK | 5 |
3 | 24ms | 2664kb | OK | 5 |
4 | 24ms | 2668kb | OK | 5 |
5 | 24ms | 2632kb | OK | 5 |
6 | 24ms | 2624kb | OK | 5 |
7 | 204ms | 4536kb | OK | 5 |
8 | 204ms | 4616kb | OK | 5 |
9 | 216ms | 4612kb | OK | 5 |
10 | 208ms | 2440kb | OK | 5 |
11 | 212ms | 2244kb | OK | 5 |
12 | 204ms | 2676kb | OK | 5 |
13 | 208ms | 2440kb | OK | 5 |
14 | 200ms | 2680kb | OK | 5 |
15 | 208ms | 2472kb | OK | 5 |
16 | 216ms | 61632kb | OK | 5 |
17 | 344ms | 61764kb | OK | 5 |
18 | 352ms | 61816kb | OK | 5 |
19 | 352ms | 61672kb | OK | 5 |
20 | 344ms | 61656kb | OK | 5 |
Punctaj total | 100 |