Pagini recente » Borderou de evaluare (job #2529460) | Borderou de evaluare (job #3279024) | Borderou de evaluare (job #2768957) | Borderou de evaluare (job #2584052) | Borderou de evaluare (job #2698266)
Borderou de evaluare (job #2698266)
Raport evaluator
Compilare:
main.cpp: In function 'void solveTest()':
main.cpp:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int ha=HASH(1,n);
^~~
main.cpp:29:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int ha=HASH(1,n);
^~~
main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int hb=HASH(1,n);
^~~
main.cpp:30:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int hb=HASH(1,n);
^~~
main.cpp: In function 'int main()':
main.cpp:17:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cosmar.in","r",stdin);
^
main.cpp:18:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cosmar.out","w",stdout);
^
main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp: In function 'void solveTest()':
main.cpp:28:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:29:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int ha=HASH(1,n);
^
main.cpp:30:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%d",&a[i]);int hb=HASH(1,n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 17ms | 2560kb | OK | 15 | 15 |
2 | 25ms | 2490kb | OK | 29 | 29 |
3 | 1247ms | 3526kb | OK | 35 | 36 |
4 | 1231ms | 3276kb | OK | 1 |
5 | 3422ms | 4194kb | OK | 17 | 20 |
6 | 2757ms | 4128kb | OK | 1 |
7 | 3205ms | 4194kb | OK | 1 |
8 | 1821ms | 4194kb | OK | 1 |
Punctaj total | 100 |