Pagini recente » Borderou de evaluare (job #2500513) | Borderou de evaluare (job #2275996) | Borderou de evaluare (job #2443654) | Borderou de evaluare (job #106423) | Borderou de evaluare (job #1212560)
Borderou de evaluare (job #1212560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:5: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable]
int p1,p2;
^
user.cpp:63:5: warning: unused variable ‘s’ [-Wunused-variable]
int s=0;
^
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%lld",&n);
^
user.cpp:18:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%lld",&cursor);
^
user.cpp:54:14: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=p2+1;i<=n;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 0ms | 548kb | OK | 10 |
4 | 0ms | 512kb | Incorect | 0 |
5 | 24ms | 1256kb | OK | 10 |
6 | 88ms | 3180kb | Incorect | 0 |
7 | 128ms | 4380kb | OK | 10 |
8 | 232ms | 7776kb | Incorect | 0 |
9 | 252ms | 8284kb | Incorect | 0 |
10 | 260ms | 8292kb | OK | 10 |
Punctaj total | 60 |