Pagini recente » Borderou de evaluare (job #2654990) | Borderou de evaluare (job #1333465) | Borderou de evaluare (job #478459) | Borderou de evaluare (job #630407) | Borderou de evaluare (job #1399830)
Borderou de evaluare (job #1399830)
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 |
1 | Depăşit | 384kb | Time limit exceeded. | 0 |
2 | Depăşit | 388kb | Time limit exceeded. | 0 |
3 | Depăşit | 424kb | Time limit exceeded. | 0 |
4 | Depăşit | 908kb | Time limit exceeded. | 0 |
5 | Depăşit | 1344kb | Time limit exceeded. | 0 |
6 | Depăşit | 2080kb | Time limit exceeded. | 0 |
7 | Depăşit | 2588kb | Time limit exceeded. | 0 |
8 | Depăşit | 2892kb | Time limit exceeded. | 0 |
9 | Depăşit | 2888kb | Time limit exceeded. | 0 |
10 | Depăşit | 2884kb | Time limit exceeded. | 0 |
Punctaj total | 0 |