Pagini recente » Borderou de evaluare (job #2439059) | Cod sursa (job #2971802) | Borderou de evaluare (job #2013775) | Cod sursa (job #2972422) | Borderou de evaluare (job #2683584)
Borderou de evaluare (job #2683584)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:78:28: warning: narrowing conversion of 's1x' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
push({s1x, s1y, s1z, 1});
^
main.cpp:78:28: warning: narrowing conversion of 's1y' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:78:28: warning: narrowing conversion of 's1z' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:92:45: warning: narrowing conversion of 'ox' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
push({ox, oy, oz, q.d+1});
^
main.cpp:92:45: warning: narrowing conversion of 'oy' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:92:45: warning: narrowing conversion of 'oz' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:92:42: warning: narrowing conversion of '(((int)q.poz::d) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
push({ox, oy, oz, q.d+1});
~~~^~
main.cpp:100:30: warning: narrowing conversion of 'xx' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
coada[i] = {xx, yy, zz, 0};
^
main.cpp:100:30: warning: narrowing conversion of 'yy' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:100:30: warning: narrowing conversion of 'zz' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:107:34: warning: narrowing conversion of 'xx' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
coada[i] = {xx, yy, zz, 0};
^
main.cpp:107:34: warning: narrowing conversion of 'yy' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:107:34: warning: narrowing conversion of 'zz' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
main.cpp:55: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);
^
main.cpp:56:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &s1x, &s1y, &s1z);
^
main.cpp:57:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &s2x, &s2y, &s2z);
^
main.cpp:70:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Corect! | 5 |
2 | 150ms | 1310kb | Corect! | 5 |
3 | 6ms | 393kb | Corect! | 5 |
4 | 2ms | 131kb | Corect! | 5 |
5 | 4ms | 262kb | Corect! | 5 |
6 | 9ms | 524kb | Corect! | 5 |
7 | 17ms | 655kb | Corect! | 5 |
8 | 34ms | 917kb | Corect! | 5 |
9 | 55ms | 1048kb | Corect! | 5 |
10 | 14ms | 1310kb | Corect! | 5 |
11 | 138ms | 1310kb | Corect! | 5 |
12 | 50ms | 917kb | Corect! | 5 |
13 | 21ms | 1048kb | Corect! | 5 |
14 | 57ms | 1048kb | Corect! | 5 |
15 | 103ms | 1179kb | Corect! | 5 |
16 | 76ms | 1310kb | Corect! | 5 |
17 | 151ms | 1310kb | Corect! | 5 |
18 | 125ms | 1310kb | Corect! | 5 |
19 | 134ms | 1310kb | Corect! | 5 |
20 | 95ms | 1310kb | Corect! | 5 |
Punctaj total | 100 |