Pagini recente » Borderou de evaluare (job #2970923) | Borderou de evaluare (job #483087) | Borderou de evaluare (job #2353766) | Borderou de evaluare (job #1159995) | Borderou de evaluare (job #2304329)
Borderou de evaluare (job #2304329)
Raport evaluator
Compilare:
main.cpp: In function 'int calc(int&)':
main.cpp:31:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(viz[prim[i]])
^~
main.cpp:33:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
s += cost[prim[i]];
^
main.cpp: In function 'int main()':
main.cpp:41:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numerologie.in","r",stdin);
^
main.cpp:42:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numerologie.out","w",stdout);
^
main.cpp:43:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:45:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:47:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | OK | 10 | 10 |
2 | 3ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 5ms | 131kb | OK | 10 | 10 |
5 | 5ms | 131kb | OK | 10 | 10 |
6 | 19ms | 131kb | OK | 10 | 50 |
7 | 8ms | 131kb | OK | 10 |
8 | 7ms | 131kb | OK | 10 |
9 | 6ms | 131kb | OK | 10 |
10 | 7ms | 131kb | OK | 10 |
Punctaj total | 100 |