Borderou de evaluare (job #2162985)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:57: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(h[ sparce[i][j-1] ] < h[ sparce[i + pwr(j-1)][j-1] ])
^
user.cpp:7:22: note: in definition of macro ‘pwr’
#define pwr(x) (1 << x)
^
user.cpp:50:49: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else sparce[i][j] = sparce[i + pwr(j-1)][j-1];
^
user.cpp:7:22: note: in definition of macro ‘pwr’
#define pwr(x) (1 << x)
^
user.cpp:32: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:34:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &k);
^
user.cpp:55:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3148kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 4ms | 3136kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 3124kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 4ms | 3060kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 3032kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 3108kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 3012kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 3024kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 3132kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 3168kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |