Pagini recente » Cod sursa (job #1642011) | Cod sursa (job #855761) | Borderou de evaluare (job #2212310) | Borderou de evaluare (job #1188037) | Borderou de evaluare (job #1206663)
Borderou de evaluare (job #1206663)
Raport evaluator
Compilare:
user.cpp: In function ‘void Rezolva(long int, int)’:
user.cpp:22:22: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=1;i<=k,pr[i]-ant <= n;i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inel.in","r",stdin);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inel.out","w",stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 252kb | OK | 10 |
| 5 | 0ms | 248kb | OK | 10 |
| 6 | 0ms | 244kb | OK | 10 |
| 7 | 64ms | 252kb | OK | 10 |
| 8 | 776ms | 244kb | OK | 10 |
| 9 | 12ms | 244kb | OK | 10 |
| 10 | 0ms | 244kb | OK | 10 |
| Punctaj total | 100 |