Pagini recente » Borderou de evaluare (job #1640229) | Borderou de evaluare (job #348683) | Cod sursa (job #550606) | Borderou de evaluare (job #372653) | Borderou de evaluare (job #1466961)
Borderou de evaluare (job #1466961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:108:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hprob.in","r",stdin);
^
user.cpp:109:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hprob.out","w",stdout);
^
user.cpp:113:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &T); T ; --T)
^
user.cpp:115:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lf %lf %lf\n", &n, &P[1], &P[2], &P[3]); P[0] = 1.0 - P[1] - P[2] - P[3];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | OK | 10 |
2 | 0ms | 360kb | OK | 10 |
3 | 4ms | 360kb | OK | 10 |
4 | 4ms | 356kb | OK | 10 |
5 | 0ms | 364kb | OK | 10 |
6 | 0ms | 364kb | OK | 10 |
7 | 4ms | 364kb | OK | 10 |
8 | 0ms | 364kb | OK | 10 |
9 | 4ms | 364kb | OK | 10 |
10 | 4ms | 368kb | OK | 10 |
Punctaj total | 100 |