Pagini recente » Cod sursa (job #414230) | Borderou de evaluare (job #1107024) | Borderou de evaluare (job #2096503) | Cod sursa (job #2873822) | Borderou de evaluare (job #2024131)
Borderou de evaluare (job #2024131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:46:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:51:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir[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:51: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/ccJUXdoN.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 | 284kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 296kb | OK | 5 |
4 | 0ms | 288kb | OK | 5 |
5 | 0ms | 300kb | OK | 5 |
6 | 0ms | 296kb | OK | 5 |
7 | 12ms | 368kb | OK | 5 |
8 | 12ms | 376kb | OK | 5 |
9 | 12ms | 384kb | OK | 5 |
10 | 16ms | 396kb | OK | 5 |
11 | 16ms | 396kb | OK | 5 |
12 | 20ms | 404kb | OK | 5 |
13 | 68ms | 612kb | OK | 5 |
14 | 44ms | 512kb | OK | 5 |
15 | 48ms | 528kb | OK | 5 |
16 | 64ms | 608kb | OK | 5 |
17 | Depăşit | 1876kb | Time limit exceeded. | 0 |
18 | Depăşit | 1576kb | Time limit exceeded. | 0 |
19 | Depăşit | 1864kb | Time limit exceeded. | 0 |
20 | Depăşit | 1864kb | Time limit exceeded. | 0 |
Punctaj total | 80 |