Pagini recente » Borderou de evaluare (job #2758274) | Borderou de evaluare (job #1544630) | Borderou de evaluare (job #1318000) | Borderou de evaluare (job #2362769) | Borderou de evaluare (job #1258351)
Borderou de evaluare (job #1258351)
Raport evaluator
Compilare:
user.cpp: In function ‘void nrCount()’:
user.cpp:48:20: warning: unused variable ‘i’ [-Wunused-variable]
int Count = 0, i, Day1, Day2, Month1, Month2, nrDays = 0, H, M, S, lh, lm, ls, DAY = P[23][59][59];
^
user.cpp:50:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &Month1, &Day1, &H, &M, &S);
^
user.cpp:62:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &Month2, &Day2, &H, &M, &S);
^
user.cpp: In function ‘int main()’:
user.cpp:82:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("momente.in", "r", stdin);
^
user.cpp:83:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("momente.out", "w", stdout);
^
user.cpp:89:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 596kb | OK | 7 |
2 | 0ms | 596kb | OK | 7 |
3 | 0ms | 588kb | OK | 7 |
4 | 0ms | 592kb | OK | 7 |
5 | 0ms | 592kb | OK | 7 |
6 | 0ms | 596kb | OK | 7 |
7 | 0ms | 596kb | OK | 7 |
8 | 4ms | 596kb | OK | 7 |
9 | 4ms | 600kb | OK | 7 |
10 | 12ms | 596kb | OK | 7 |
11 | 4ms | 596kb | OK | 7 |
12 | 24ms | 596kb | OK | 7 |
13 | 116ms | 592kb | OK | 7 |
14 | 232ms | 592kb | OK | 7 |
Punctaj total | 100 |