Pagini recente » Borderou de evaluare (job #2175535) | Borderou de evaluare (job #731410) | Borderou de evaluare (job #1277707) | Borderou de evaluare (job #451897) | Borderou de evaluare (job #1285712)
Borderou de evaluare (job #1285712)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:26: warning: unused variable ‘p1’ [-Wunused-variable]
long long n,pe,nr,np,p1,p,i,j;
^
user.cpp:7:33: warning: unused variable ‘j’ [-Wunused-variable]
long long n,pe,nr,np,p1,p,i,j;
^
user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&p);
^
user.cpp:11:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v1[i]);
^
user.cpp:30:5: warning: ‘pe’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(pe!=n)
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 292kb | OK | 10 | 20 |
✓ | 2 | 0ms | 272kb | OK | 10 |
✗ | 3 | 0ms | 252kb | OK | 10 | 20 |
✗ | 4 | 0ms | 276kb | OK | 10 |
✓ | 5 | 28ms | 924kb | OK | 10 | 20 |
✗ | 6 | 28ms | 904kb | OK | 10 |
✗ | 7 | 252ms | 5904kb | OK | 10 | 40 |
✓ | 8 | 252ms | 5900kb | OK | 10 |
✗ | 9 | 252ms | 5904kb | OK | 10 |
✗ | 10 | 896ms | 5884kb | OK | 10 |
Punctaj total | 100 |