Pagini recente » Borderou de evaluare (job #298931) | Borderou de evaluare (job #38442) | Borderou de evaluare (job #2625354) | Borderou de evaluare (job #2668410) | Borderou de evaluare (job #1506227)
Borderou de evaluare (job #1506227)
Raport evaluator
Compilare:
user.cpp: In function ‘int ROOT(int)’:
user.cpp:19:19: warning: unused variable ‘aux’ [-Wunused-variable]
int root = x, aux;
^
user.cpp: In function ‘int main()’:
user.cpp:61:21: warning: unused variable ‘x’ [-Wunused-variable]
for (int i = 1, x; i <= N; ++i)
^
user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.in", "r", stdin);
^
user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.out", "w", stdout);
^
user.cpp:59:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:63:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
P[i] = i;
^
user.cpp:83:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
printf("%d\n", search(x));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 10 |
2 | 0ms | 308kb | OK | 10 | 10 |
3 | 0ms | 312kb | OK | 10 | 10 |
4 | 20ms | 512kb | OK | 10 | 10 |
5 | 60ms | 1220kb | OK | 10 | 20 |
6 | 92ms | 1692kb | OK | 10 |
7 | 180ms | 2160kb | OK | 10 | 10 |
8 | 144ms | 2392kb | OK | 10 | 0 |
9 | Depăşit | 2604kb | Time limit exceeded. | 0 |
10 | Depăşit | 2608kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 70 |