Pagini recente » Borderou de evaluare (job #2570148) | Borderou de evaluare (job #61639) | Borderou de evaluare (job #1778372) | Borderou de evaluare (job #1471252) | Borderou de evaluare (job #1778657)
Borderou de evaluare (job #1778657)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:33: 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:37:35: 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:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:42:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&a[j+(i-1)*64]);
^
user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (j==64)scanf("\n");
^
user.cpp:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:50:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss[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:50:22:
/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/cc3PdVl0.o: In function `main':
user.cpp:(.text.startup+0x112): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 624kb | OK | 10 |
2 | 200ms | 608kb | OK | 10 |
3 | 48ms | 776kb | OK | 10 |
4 | 32ms | 1608kb | OK | 10 |
5 | 84ms | 836kb | OK | 10 |
6 | 128ms | 856kb | OK | 10 |
7 | 168ms | 896kb | OK | 10 |
8 | Depăşit | 1960kb | Time limit exceeded. | 0 |
9 | 384ms | 1976kb | OK | 10 |
10 | Depăşit | 1904kb | Time limit exceeded. | 0 |
Punctaj total | 80 |