Pagini recente » Borderou de evaluare (job #160159) | Borderou de evaluare (job #363019) | Borderou de evaluare (job #315410) | Borderou de evaluare (job #1964566) | Borderou de evaluare (job #1224322)
Borderou de evaluare (job #1224322)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:12: warning: unused variable ‘p’ [-Wunused-variable]
int m, p, i=0, l=-2, x, k, j,aux,ok;
^
user.cpp:5:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "parantezare.in", "r", stdin );
^
user.cpp:6:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "parantezare.out", "w", stdout );
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &m );
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d",&x );
^
user.cpp:8:17: warning: array subscript is below array bounds [-Warray-bounds]
while( v[i-1]!=EOF && v[i-1]!='\n' )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 4ms | 344kb | OK | 10 |
10 | 8ms | 340kb | OK | 10 |
Punctaj total | 100 |