Pagini recente » Borderou de evaluare (job #3291342) | Borderou de evaluare (job #1907662) | Borderou de evaluare (job #3170075) | Borderou de evaluare (job #1039330) | Borderou de evaluare (job #2250422)
Borderou de evaluare (job #2250422)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:21: warning: statement has no effect [-Wunused-value]
for(help; help >= 2; help --)
^
user.cpp:12:44: warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
long long n , i , lastsum , new_last , j , poz , nr , help;
^
user.cpp:12:48: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
long long n , i , lastsum , new_last , j , poz , nr , help;
^~~
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valoare.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valoare.out","w",stdout);
^
user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &nr);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 860kb | OK | 20 | 20 |
✗ | 2 | 0ms | 868kb | OK | 20 | 20 |
✗ | 3 | 20ms | 1240kb | Incorect | 0 | 0 |
✗ | 4 | 20ms | 1236kb | Incorect | 0 |
✓ | 5 | Depăşit | 1320kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 40 |