Borderou de evaluare (job #1035445)

Utilizator Aleks10FMI - Petrache Alex Aleks10 Data 18 noiembrie 2013 16:24:40
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100001]’ [-Wformat=] scanf("%s",&c); ^ user.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(c);i++){ ^ user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",ap[a[i]]); ^ user.cpp:17:25: warning: unused variable ‘contor’ [-Wunused-variable] int par[100000],k=0,contor=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK10
20ms412kbIncorect0
30ms420kbIncorect0
40ms416kbIncorect0
50ms420kbIncorect0
60ms424kbIncorect0
74ms440kbIncorect0
88ms460kbIncorect0
9Depăşit536kbTime limit exceeded.0
10Depăşit528kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?