Pagini recente » Borderou de evaluare (job #862618) | Borderou de evaluare (job #1991022) | Borderou de evaluare (job #328412) | Borderou de evaluare (job #1737487) | Borderou de evaluare (job #1477992)
Borderou de evaluare (job #1477992)
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/cc5wzN1R.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 | 12ms | 8180kb | Killed by signal 6(SIGABRT). | 0 |
| 2 | 12ms | 8184kb | Killed by signal 6(SIGABRT). | 0 |
| 3 | 12ms | 8184kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 12ms | 8184kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 12ms | 8184kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 12ms | 8180kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 12ms | 8184kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 12ms | 8180kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 12ms | 8180kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 12ms | 8176kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 |