Pagini recente » Borderou de evaluare (job #369378) | Borderou de evaluare (job #2571532) | Borderou de evaluare (job #4407) | Borderou de evaluare (job #923171) | Borderou de evaluare (job #1436459)
Borderou de evaluare (job #1436459)
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 | 420kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 0ms | 428kb | OK | 10 |
6 | 0ms | 452kb | OK | 10 |
7 | 4ms | 480kb | OK | 10 |
8 | 8ms | 520kb | OK | 10 |
9 | 16ms | 520kb | OK | 10 |
10 | 36ms | 784kb | OK | 10 |
Punctaj total | 100 |