Pagini recente » Borderou de evaluare (job #203203) | Borderou de evaluare (job #229710) | Borderou de evaluare (job #2448448) | Borderou de evaluare (job #2012960) | Borderou de evaluare (job #2018857)
Borderou de evaluare (job #2018857)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:45: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:81: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:82: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:85: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:89:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:97:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:99: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:89: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/ccN3i8mI.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 | 252ms | 2432kb | OK | 5 |
2 | 240ms | 2436kb | OK | 5 |
3 | 28ms | 2672kb | OK | 5 |
4 | 28ms | 2676kb | OK | 5 |
5 | 28ms | 2632kb | OK | 5 |
6 | 28ms | 2632kb | OK | 5 |
7 | 320ms | 4544kb | OK | 5 |
8 | 324ms | 4616kb | OK | 5 |
9 | 300ms | 4616kb | OK | 5 |
10 | 236ms | 2448kb | OK | 5 |
11 | 264ms | 2248kb | OK | 5 |
12 | 228ms | 2676kb | OK | 5 |
13 | 240ms | 2452kb | OK | 5 |
14 | 228ms | 2684kb | OK | 5 |
15 | 240ms | 2472kb | OK | 5 |
16 | 280ms | 61640kb | Incorect | 0 |
17 | Depăşit | 61772kb | Time limit exceeded. | 0 |
18 | Depăşit | 61820kb | Time limit exceeded. | 0 |
19 | Depăşit | 61676kb | Time limit exceeded. | 0 |
20 | Depăşit | 61664kb | Time limit exceeded. | 0 |
Punctaj total | 75 |