Pagini recente » Borderou de evaluare (job #523467) | Borderou de evaluare (job #740797) | Borderou de evaluare (job #2790328) | Borderou de evaluare (job #371933) | Borderou de evaluare (job #1620270)
Borderou de evaluare (job #1620270)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:18: warning: unused variable ‘k’ [-Wunused-variable]
int ans = 0, k = 0, M1 = 0, M2 = 0;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs2.in","r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs2.out","w",stdout);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:57:45: warning: ‘ind2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while (v[ind1].first == M1 && v[ind2].first == M2 && n) {
^
user.cpp:48:20: warning: ‘ind1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int cn = n, j, ind1, ind2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 548kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 432kb | OK | 10 |
6 | 0ms | 436kb | OK | 10 |
7 | 0ms | 444kb | OK | 10 |
8 | 0ms | 444kb | OK | 10 |
9 | 0ms | 440kb | Lista incorecta | 3 |
10 | 0ms | 432kb | Lista incorecta | 3 |
Punctaj total | 76 |