Borderou de evaluare (job #1100606)

Utilizator alexandrutarcanTarcan Alexandru alexandrutarcan Data 7 februarie 2014 09:00:43
Problema Elementul majoritar Status done
Runda Teme Pregatire ACM Unibuc 2013 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&n); ^ user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&v[i]); ^ user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d %d",maj,x); ^ user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
20ms232kbIncorect0
30ms236kbWall time limit exceeded.0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?