Pagini recente » Borderou de evaluare (job #272876) | Borderou de evaluare (job #3320779) | Borderou de evaluare (job #3344582) | Borderou de evaluare (job #372855) | Borderou de evaluare (job #1453119)
Borderou de evaluare (job #1453119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teams.in", "r", stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teams.out", "w", stdout);
^
user.cpp:49:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &N, &range1, &range2);
^
user.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &i);
^
user.cpp:57:118: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
L1 = interval1(i + 1 , N - 1 , range2 - x[i]), L2 = interval2(i + 1, N - 1, range1 - x[i] ), toth += L1 - L2 + 1;
^
user.cpp:57:118: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 428kb | OK | 10 |
| 4 | 0ms | 428kb | OK | 10 |
| 5 | 0ms | 436kb | OK | 10 |
| 6 | 0ms | 456kb | OK | 10 |
| 7 | 4ms | 488kb | OK | 10 |
| 8 | 8ms | 532kb | OK | 10 |
| 9 | 16ms | 520kb | OK | 10 |
| 10 | 36ms | 784kb | OK | 10 |
| Punctaj total | 100 |