Pagini recente » Borderou de evaluare (job #2269570) | Borderou de evaluare (job #1218777) | Borderou de evaluare (job #851872) | Borderou de evaluare (job #2574071) | Borderou de evaluare (job #1747736)
Borderou de evaluare (job #1747736)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:29:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:29:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:29:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp: In function ‘void computeLow(int)’:
user.cpp:72:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < v[ k ].size(); ++i ){
^
user.cpp:60:12: warning: unused variable ‘x’ [-Wunused-variable]
int k, x, i, j;
^
user.cpp:60:18: warning: unused variable ‘j’ [-Wunused-variable]
int k, x, i, j;
^
user.cpp: In function ‘void computeUp(int)’:
user.cpp:98:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < g[ k ].size(); ++i ){
^
user.cpp:85:13: warning: unused variable ‘x’ [-Wunused-variable]
int k, x, i, j;
^
user.cpp:85:19: warning: unused variable ‘j’ [-Wunused-variable]
int k, x, i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:26:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&valNod[ i ]);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK! | 10 |
2 | 0ms | 468kb | Gresit! | 3 |
3 | 0ms | 476kb | A doua valoare gresita! | 7 |
4 | 0ms | 472kb | Gresit! | 3 |
5 | 0ms | 532kb | OK! | 10 |
6 | 0ms | 532kb | OK! | 10 |
7 | 0ms | 476kb | OK! | 10 |
8 | 0ms | 488kb | OK! | 10 |
9 | 0ms | 488kb | OK! | 10 |
10 | 0ms | 472kb | OK! | 10 |
Punctaj total | 83 |