Pagini recente » Borderou de evaluare (job #2979144) | Borderou de evaluare (job #2344309) | Borderou de evaluare (job #1380988) | Borderou de evaluare (job #640522) | Borderou de evaluare (job #1477937)
Borderou de evaluare (job #1477937)
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/cc37Fzc5.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 280ms | 3868kb | OK | 10 |
| 2 | 68ms | 3820kb | OK | 10 |
| 3 | 252ms | 9920kb | OK | 10 |
| 4 | 268ms | 9920kb | OK | 10 |
| 5 | Depăşit | 14524kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 11788kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 8388kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 8120kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 8120kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4032kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |