Pagini recente » Borderou de evaluare (job #6182) | Borderou de evaluare (job #2268779) | Borderou de evaluare (job #1005182) | Borderou de evaluare (job #2403015) | Borderou de evaluare (job #1567664)
Borderou de evaluare (job #1567664)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("evo.in", "r", stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("evo.out", "w", stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &nr);
^
user.cpp:26:52: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (init[i] + 1), l[i] = strlen (init[i] + 1);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:39:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), N = strlen (sir + 1);
^
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:26:52:
/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/ccpRGmTR.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x166): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 5 | 5 |
2 | 0ms | 284kb | OK | 5 | 5 |
3 | 0ms | 284kb | OK | 5 | 5 |
4 | 16ms | 292kb | OK | 5 | 5 |
5 | 16ms | 284kb | OK | 5 | 5 |
6 | 56ms | 292kb | OK | 5 | 5 |
7 | 56ms | 288kb | OK | 5 | 5 |
8 | 112ms | 288kb | OK | 5 | 5 |
9 | 72ms | 284kb | OK | 5 | 5 |
10 | 56ms | 284kb | OK | 5 | 5 |
11 | 124ms | 300kb | OK | 5 | 5 |
12 | 332ms | 324kb | OK | 5 | 5 |
13 | 556ms | 340kb | OK | 5 | 20 |
14 | 416ms | 340kb | OK | 5 |
15 | 392ms | 336kb | OK | 5 |
16 | 364ms | 332kb | OK | 5 |
17 | 556ms | 332kb | OK | 5 | 5 |
18 | 440ms | 340kb | OK | 5 | 5 |
19 | 484ms | 340kb | OK | 5 | 5 |
20 | 476ms | 344kb | OK | 5 | 5 |
Punctaj total | 100 |