Borderou de evaluare (job #1821901)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45: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);
^
user.cpp:46: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);
^
user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:51:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; ++i) scanf("%d",&v[i]);
^
user.cpp:52:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= M; ++i) scanf("%d",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 0ms | 272kb | OK | 10 | 10 |
4 | 16ms | 276kb | OK | 10 | 10 |
5 | 16ms | 268kb | OK | 10 | 10 |
6 | 60ms | 276kb | OK | 10 | 50 |
7 | 20ms | 272kb | OK | 10 |
8 | 20ms | 280kb | OK | 10 |
9 | 8ms | 276kb | OK | 10 |
10 | 16ms | 280kb | OK | 10 |
Punctaj total | 100 |