Pagini recente » Borderou de evaluare (job #1165019) | Borderou de evaluare (job #2559501) | Borderou de evaluare (job #3183140) | Borderou de evaluare (job #1592270) | Borderou de evaluare (job #1790081)
Borderou de evaluare (job #1790081)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:22:43: 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:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &type, &n);
^
user.cpp:31:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
user.cpp:65:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 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:31:27:
/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);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:65:23:
/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/ccGM4vkp.o: In function `main':
user.cpp:(.text.startup+0x9f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1268kb | OK. | 5 | 20 |
2 | 4ms | 1444kb | OK. | 5 |
3 | 0ms | 600kb | OK. | 5 |
4 | 0ms | 1116kb | OK. | 5 |
5 | 0ms | 552kb | OK. | 3 | 3 |
6 | 136ms | 1280kb | OK. | 3 | 3 |
7 | 0ms | 512kb | OK. | 3 | 3 |
8 | 76ms | 968kb | OK. | 3 | 3 |
9 | 228ms | 1444kb | OK. | 4 | 4 |
10 | 188ms | 1428kb | OK. | 4 | 4 |
11 | 192ms | 1328kb | OK. | 4 | 4 |
12 | 252ms | 1376kb | OK. | 4 | 4 |
13 | 256ms | 1404kb | OK. | 4 | 4 |
14 | 208ms | 1444kb | OK. | 5 | 5 |
15 | 268ms | 1436kb | OK. | 5 | 5 |
16 | 344ms | 1440kb | OK. | 5 | 5 |
17 | 328ms | 1432kb | OK. | 5 | 5 |
18 | 248ms | 1436kb | OK. | 5 | 5 |
19 | 264ms | 1440kb | OK. | 5 | 5 |
20 | 268ms | 1448kb | OK. | 6 | 6 |
21 | 284ms | 1440kb | OK. | 6 | 6 |
22 | 408ms | 1448kb | OK. | 6 | 6 |
Punctaj total | 100 |