Pagini recente » Borderou de evaluare (job #222568) | Borderou de evaluare (job #285542) | Borderou de evaluare (job #1918182) | Borderou de evaluare (job #498995) | Borderou de evaluare (job #1629400)
Borderou de evaluare (job #1629400)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:15: warning: unused variable ‘j’ [-Wunused-variable]
int m, i, j=0, x, val;
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.in", "r", stdin );
^
user.cpp:25:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.out", "w", stdout );
^
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n, &m );
^
user.cpp:29:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &p[i].k ), p[i].l=1;
^
user.cpp:34:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val=p[x].k*p[x].l;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 4ms | 260kb | OK | 10 |
6 | 4ms | 268kb | OK | 10 |
7 | 4ms | 264kb | OK | 10 |
8 | 4ms | 268kb | OK | 10 |
9 | 4ms | 264kb | OK | 10 |
10 | 4ms | 268kb | OK | 10 |
Punctaj total | 100 |