Pagini recente » Borderou de evaluare (job #1933624) | Borderou de evaluare (job #1907986) | Borderou de evaluare (job #63009) | Borderou de evaluare (job #2148715) | Borderou de evaluare (job #1618568)
Borderou de evaluare (job #1618568)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:10: warning: statement has no effect [-Wunused-value]
for(i;i<=n+20;++i) printf("%d",a[i]);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&nr);
^
/tmp/ccrsDaUi.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 8ms | 436kb | OK | 10 |
6 | 28ms | 768kb | OK | 10 |
7 | 100ms | 1556kb | OK | 10 |
8 | 264ms | 3536kb | OK | 10 |
9 | 352ms | 4680kb | OK | 10 |
10 | 380ms | 5156kb | OK | 10 |
Punctaj total | 100 |