Pagini recente » Borderou de evaluare (job #2375894) | Borderou de evaluare (job #1041496) | Borderou de evaluare (job #1746447) | Borderou de evaluare (job #486403) | Borderou de evaluare (job #1477995)
Borderou de evaluare (job #1477995)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:31:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:33:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(ss,1,n*64+n,stdin); s1=ss;
^
user.cpp:49:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(ss);
^
user.cpp:49:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(ss);
^
user.cpp:51:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); curenthash=0; n=strlen(ss+1);
^
/tmp/ccVHVLar.o: In function `main':
user.cpp:(.text.startup+0x3b5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 308ms | 8336kb | OK | 10 |
2 | 76ms | 8176kb | OK | 10 |
3 | 268ms | 14144kb | OK | 10 |
4 | 280ms | 14144kb | OK | 10 |
5 | Depăşit | 18108kb | Time limit exceeded. | 0 |
6 | Depăşit | 14872kb | Time limit exceeded. | 0 |
7 | Depăşit | 11100kb | Time limit exceeded. | 0 |
8 | Depăşit | 11112kb | Time limit exceeded. | 0 |
9 | Depăşit | 10980kb | Time limit exceeded. | 0 |
10 | Depăşit | 8540kb | Time limit exceeded. | 0 |
Punctaj total | 40 |