Pagini recente » Borderou de evaluare (job #413100) | Borderou de evaluare (job #518298) | Borderou de evaluare (job #318031) | Borderou de evaluare (job #2486669) | Borderou de evaluare (job #2038539)
Borderou de evaluare (job #2038539)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:124:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frequent.in","r",stdin);
^
user.cpp:125:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frequent.out","w",stdout);
^
user.cpp:127:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:129:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+len+1);
^
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:129:24:
/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/ccBGTyl2.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 536kb | OK | 5 |
2 | 0ms | 600kb | OK | 5 |
3 | 8ms | 752kb | OK | 5 |
4 | 48ms | 1776kb | OK | 5 |
5 | 36ms | 1448kb | OK | 5 |
6 | 48ms | 1772kb | OK | 5 |
7 | 412ms | 7940kb | OK | 5 |
8 | 588ms | 11936kb | Incorect | 0 |
9 | 584ms | 11064kb | OK | 5 |
10 | 692ms | 12688kb | OK | 5 |
11 | 688ms | 12232kb | OK | 5 |
12 | 788ms | 14244kb | OK | 5 |
13 | 768ms | 13448kb | OK | 5 |
14 | 892ms | 15960kb | OK | 5 |
15 | 1128ms | 19716kb | OK | 5 |
16 | 1336ms | 22164kb | OK | 5 |
17 | 1476ms | 24684kb | OK | 5 |
18 | 1700ms | 27608kb | OK | 5 |
19 | 1804ms | 29132kb | OK | 5 |
20 | Depăşit | 34816kb | Time limit exceeded. | 0 |
Punctaj total | 90 |