Pagini recente » Borderou de evaluare (job #3134756) | Borderou de evaluare (job #3171145) | Borderou de evaluare (job #2736784) | Borderou de evaluare (job #2845859) | Borderou de evaluare (job #1352074)
Borderou de evaluare (job #1352074)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:17:26: warning: unused variable ‘ras’ [-Wunused-variable]
int last, p, u, mij, ras;
^
user.cpp: In function ‘int main()’:
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pocnitoare.in", "r", stdin);
^
user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pocnitoare.out", "w", stdout);
^
user.cpp:46:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d %d %d", &N, &A, &B, &X1, &Q, &Q1);
^
user.cpp: In function ‘int solve(int)’:
user.cpp:30:22: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int j=T[last]; j<pos; j++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3524ms | 420kb | OK | 100 |
Punctaj total | 100 |