Pagini recente » Borderou de evaluare (job #1261868) | Borderou de evaluare (job #1444845) | Borderou de evaluare (job #1887265) | Borderou de evaluare (job #2154437) | Borderou de evaluare (job #1675802)
Borderou de evaluare (job #1675802)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:16:10: warning: statement has no effect [-Wunused-value]
for(pos; pos<=n; pos+=zero(pos))
^
user.cpp: In function ‘int sum(int)’:
user.cpp:22:10: warning: statement has no effect [-Wunused-value]
for(pos; pos>0; pos-=zero(pos))
^
user.cpp: In function ‘int main()’:
user.cpp:37:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &m, &q);
^
user.cpp:40:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &mat[i][j]);
^
user.cpp:52:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, " %c", &ch);
^
user.cpp:54:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &pas);
^
user.cpp:63:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &pas);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 408kb | OK | 10 |
4 | 4ms | 1100kb | OK | 10 |
5 | 44ms | 3904kb | OK | 10 |
6 | 352ms | 14232kb | OK | 10 |
7 | 408ms | 15952kb | OK | 10 |
8 | 448ms | 17760kb | OK | 10 |
9 | 444ms | 17752kb | OK | 10 |
10 | 456ms | 17760kb | OK | 10 |
Punctaj total | 100 |