Pagini recente » Borderou de evaluare (job #2946446) | Borderou de evaluare (job #1475971) | Cod sursa (job #2946423) | Borderou de evaluare (job #3119468) | Borderou de evaluare (job #1747739)
Borderou de evaluare (job #1747739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:28:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:28:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, x, y;
^
user.cpp:28: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:59:12: warning: unused variable ‘x’ [-Wunused-variable]
int k, x, i, j;
^
user.cpp:59: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:25: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:26: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:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31: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:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:36: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 | 444kb | OK! | 10 |
2 | 0ms | 448kb | OK! | 10 |
3 | 0ms | 452kb | A doua valoare gresita! | 7 |
4 | 0ms | 452kb | OK! | 10 |
5 | 0ms | 512kb | OK! | 10 |
6 | 0ms | 516kb | OK! | 10 |
7 | 0ms | 456kb | OK! | 10 |
8 | 0ms | 468kb | OK! | 10 |
9 | 0ms | 464kb | OK! | 10 |
10 | 0ms | 448kb | OK! | 10 |
Punctaj total | 97 |