Pagini recente » Cod sursa (job #46336) | Cod sursa (job #2517776) | Cod sursa (job #101770) | Cod sursa (job #2978988) | Borderou de evaluare (job #1235087)
Borderou de evaluare (job #1235087)
Raport evaluator
Compilare:
user.cpp:63:12: warning: overflow in implicit constant conversion [-Woverflow]
int best = 9999999999;
^
user.cpp: In function ‘void read()’:
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:20:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", cost+i);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:132:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
user.cpp:133:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 10 |
2 | 0ms | 272kb | OK! | 10 |
3 | 4ms | 296kb | OK! | 10 |
4 | 16ms | 304kb | OK! | 10 |
5 | 52ms | 320kb | OK! | 10 |
6 | 168ms | 344kb | OK! | 10 |
7 | Depăşit | 388kb | Time limit exceeded. | 0 |
8 | Depăşit | 416kb | Time limit exceeded. | 0 |
9 | Depăşit | 396kb | Time limit exceeded. | 0 |
10 | Depăşit | 412kb | Time limit exceeded. | 0 |
Punctaj total | 60 |