Borderou de evaluare (job #1399830)

Utilizator dragosnicolaeNicolae Dragos dragosnicolae Data 24 martie 2015 22:29:39
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int f1(long long int*, long long int, long long int, long long int, long long int)’: user.cpp:11:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(p == u) ^ user.cpp: In function ‘long long int f2(long long int*, long long int, long long int, long long int, long long int)’: user.cpp:26:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(p == u) ^ user.cpp: In function ‘int main()’: user.cpp:107:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%I64d%I64d", &n, &k); ^ user.cpp:107:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:111:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%I64d", &x[i]); ^ user.cpp:124:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f, "%I64d\n", find_kth(x, n, n * n, st, dr, k)); ^ user.cpp:107:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%I64d%I64d", &n, &k); ^ user.cpp:111:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%I64d", &x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit384kbTime limit exceeded.0
2Depăşit388kbTime limit exceeded.0
3Depăşit424kbTime limit exceeded.0
4Depăşit908kbTime limit exceeded.0
5Depăşit1344kbTime limit exceeded.0
6Depăşit2080kbTime limit exceeded.0
7Depăşit2588kbTime limit exceeded.0
8Depăşit2892kbTime limit exceeded.0
9Depăşit2888kbTime limit exceeded.0
10Depăşit2884kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?