Borderou de evaluare (job #1856107)

Utilizator VasilescuVasilescu Eliza Vasilescu Data 24 ianuarie 2017 15:31:33
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:35: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(fin, "%ull%ull", &n, &p); ^ user.cpp:17:35: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:21:34: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(fin, "%ull", &c[i]); ^ user.cpp:28:32: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(fout, "%ull\n", sum); ^ user.cpp:42:39: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(fout, "%ull ", o[jmin]); ^ user.cpp:50:33: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(fout, "%ull\n", jmin); ^ user.cpp:15:32: warning: unused variable ‘x’ [-Wunused-variable] unsigned long long n, p, i, x, jmin, maxim, flag, af, poz, zero, j, sum; ^ user.cpp:15:48: warning: unused variable ‘flag’ [-Wunused-variable] unsigned long long n, p, i, x, jmin, maxim, flag, af, poz, zero, j, sum; ^ user.cpp:15:54: warning: unused variable ‘af’ [-Wunused-variable] unsigned long long n, p, i, x, jmin, maxim, flag, af, poz, zero, j, sum; ^ user.cpp:15:58: warning: unused variable ‘poz’ [-Wunused-variable] unsigned long long n, p, i, x, jmin, maxim, flag, af, poz, zero, j, sum; ^ user.cpp:15:63: warning: unused variable ‘zero’ [-Wunused-variable] unsigned long long n, p, i, x, jmin, maxim, flag, af, poz, zero, j, sum; ^ user.cpp:17:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ull%ull", &n, &p); ^ user.cpp:21:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ull", &c[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit908kbTime limit exceeded.0
2Depăşit916kbTime limit exceeded.0
3Depăşit908kbTime limit exceeded.0
4Depăşit908kbTime limit exceeded.0
5Depăşit928kbTime limit exceeded.0
6Depăşit932kbTime limit exceeded.0
7Depăşit920kbTime limit exceeded.0
8Depăşit932kbTime limit exceeded.0
9Depăşit908kbTime limit exceeded.0
10Depăşit896kbTime limit exceeded.0
11Depăşit988kbTime limit exceeded.0
12Depăşit964kbTime limit exceeded.0
13Depăşit1112kbTime limit exceeded.0
14Depăşit1216kbTime limit exceeded.0
15632ms1372kbKilled by signal 11(SIGSEGV).0
16420ms1524kbKilled by signal 11(SIGSEGV).0
1744ms1800kbKilled by signal 11(SIGSEGV).0
1856ms1792kbKilled by signal 11(SIGSEGV).0
1940ms1800kbKilled by signal 11(SIGSEGV).0
2040ms1800kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?