Pagini recente » Borderou de evaluare (job #1839888) | Borderou de evaluare (job #982510) | Borderou de evaluare (job #2274294) | Borderou de evaluare (job #2364492) | Borderou de evaluare (job #1477965)
Borderou de evaluare (job #1477965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28: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:29: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:30:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:30:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:32:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); strcat(s+1,ss+1);
^
user.cpp:47: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:47:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(ss);
^
user.cpp:49: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/cceGQeW5.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 284ms | 3496kb | OK | 10 |
2 | 64ms | 3444kb | OK | 10 |
3 | 248ms | 9620kb | OK | 10 |
4 | 264ms | 9628kb | OK | 10 |
5 | Depăşit | 14152kb | Time limit exceeded. | 0 |
6 | Depăşit | 11408kb | Time limit exceeded. | 0 |
7 | Depăşit | 7876kb | Time limit exceeded. | 0 |
8 | Depăşit | 7880kb | Time limit exceeded. | 0 |
9 | Depăşit | 7884kb | Time limit exceeded. | 0 |
10 | Depăşit | 3660kb | Time limit exceeded. | 0 |
Punctaj total | 40 |