Pagini recente » Borderou de evaluare (job #3184399) | Monitorul de evaluare | Borderou de evaluare (job #2161813)
Borderou de evaluare (job #2161813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:57: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(a[ sparce[i][j-1] ] < a[ sparce[i + pwr(j-1)][j-1] ])
^
user.cpp:6:22: note: in definition of macro ‘pwr’
#define pwr(x) (1 << x)
^
user.cpp:28:49: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else sparce[i][j] = sparce[i + pwr(j-1)][j-1];
^
user.cpp:6:22: note: in definition of macro ‘pwr’
#define pwr(x) (1 << x)
^
user.cpp:15:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:17:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &a[i]);
^
user.cpp:33:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &low, &high);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1324kb | OK | 10 | 10 |
| 2 | 0ms | 1268kb | OK | 10 | 10 |
| 3 | 4ms | 1856kb | OK | 10 | 10 |
| 4 | 124ms | 7156kb | OK | 10 | 10 |
| 5 | 140ms | 7172kb | OK | 10 | 20 |
| 6 | 728ms | 9208kb | OK | 10 |
| 7 | 760ms | 11496kb | OK | 10 | 10 |
| 8 | 896ms | 11816kb | OK | 10 | 10 |
| 9 | 984ms | 11780kb | OK | 10 | 10 |
| 10 | 1116ms | 11856kb | OK | 10 | 10 |
| Punctaj total | 100 |