Pagini recente » Borderou de evaluare (job #252012) | Cod sursa (job #1800373) | Borderou de evaluare (job #2280414) | Cod sursa (job #3274659) | Borderou de evaluare (job #1265810)
Borderou de evaluare (job #1265810)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:91:29: warning: unused variable ‘s’ [-Wunused-variable]
int mindiff = INF,a,b,c,s;
^
user.cpp: In function ‘void read()’:
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n );
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&pp[i] );
^
user.cpp: In function ‘int main()’:
user.cpp:149: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:150: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 | 284kb | OK! | 10 |
2 | 0ms | 288kb | OK! | 10 |
3 | 0ms | 292kb | OK! | 10 |
4 | 0ms | 292kb | OK! | 10 |
5 | 8ms | 304kb | OK! | 10 |
6 | 24ms | 304kb | OK! | 10 |
7 | 84ms | 320kb | OK! | 10 |
8 | Depăşit | 320kb | Time limit exceeded. | 0 |
9 | 108ms | 324kb | OK! | 10 |
10 | 160ms | 324kb | OK! | 10 |
Punctaj total | 90 |