Pagini recente » Borderou de evaluare (job #1751821) | Borderou de evaluare (job #1765256) | Borderou de evaluare (job #300520) | Borderou de evaluare (job #385997) | Borderou de evaluare (job #1669215)
Borderou de evaluare (job #1669215)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&m,&z);
^
user.cpp:11:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) gets(s[i]);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c",&z,&q); sol=0;
^
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:11:36:
/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/cc46Cxsj.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 5 |
2 | 0ms | 308kb | OK | 5 |
3 | 0ms | 408kb | OK | 5 |
4 | 0ms | 480kb | OK | 5 |
5 | 4ms | 548kb | OK | 5 |
6 | 0ms | 432kb | OK | 5 |
7 | Depăşit | 672kb | Time limit exceeded. | 0 |
8 | Depăşit | 672kb | Time limit exceeded. | 0 |
9 | Depăşit | 768kb | Time limit exceeded. | 0 |
10 | Depăşit | 772kb | Time limit exceeded. | 0 |
11 | Depăşit | 772kb | Time limit exceeded. | 0 |
12 | Depăşit | 716kb | Time limit exceeded. | 0 |
13 | Depăşit | 744kb | Time limit exceeded. | 0 |
14 | Depăşit | 776kb | Time limit exceeded. | 0 |
15 | Depăşit | 644kb | Time limit exceeded. | 0 |
16 | Depăşit | 764kb | Time limit exceeded. | 0 |
17 | Depăşit | 772kb | Time limit exceeded. | 0 |
18 | Depăşit | 772kb | Time limit exceeded. | 0 |
19 | Depăşit | 776kb | Time limit exceeded. | 0 |
20 | Depăşit | 772kb | Time limit exceeded. | 0 |
Punctaj total | 30 |