Pagini recente » Borderou de evaluare (job #826253) | Borderou de evaluare (job #1375203) | Borderou de evaluare (job #2609801) | Borderou de evaluare (job #2723590) | Borderou de evaluare (job #2166173)
Borderou de evaluare (job #2166173)
Raport evaluator
Compilare:
user.cpp: In function ‘int update(int, int)’:
user.cpp:13:12: warning: no return statement in function returning non-void [-Wreturn-type]
aib[i]+=nr;}
^
user.cpp: In function ‘int main()’:
user.cpp:20:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
user.cpp:24:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a+1,50003,stdin);
^
user.cpp:30:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch),f2[ch-96]++,poz[ch-96].push_back(i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2300kb | OK | 10 |
2 | 4ms | 2328kb | OK | 10 |
3 | 4ms | 2256kb | OK | 10 |
4 | 4ms | 2324kb | OK | 10 |
5 | 8ms | 2612kb | OK | 10 |
6 | 12ms | 3016kb | OK | 10 |
7 | 12ms | 2944kb | OK | 10 |
8 | 12ms | 3000kb | OK | 10 |
9 | 12ms | 2856kb | OK | 10 |
10 | 12ms | 2884kb | OK | 10 |
Punctaj total | 100 |