Pagini recente » Borderou de evaluare (job #2887823) | Borderou de evaluare (job #147527) | Borderou de evaluare (job #1194345) | Borderou de evaluare (job #605102) | Borderou de evaluare (job #2372555)
Borderou de evaluare (job #2372555)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i!=2)
^~
main.cpp:26:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
aa=(a/(i*i))*(i*i);
^~
main.cpp:32:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (w[j-a+1]==0)
^~
main.cpp:34:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
w[j-a+1]=1;
^
main.cpp:10:31: warning: unused variable 'k' [-Wunused-variable]
long long int i,j,a,b,con,k,tot=0,ctot,cb,aa;
^
main.cpp:10:39: warning: unused variable 'ctot' [-Wunused-variable]
long long int i,j,a,b,con,k,tot=0,ctot,cb,aa;
^~~~
main.cpp:8:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nasa.in","r",stdin);
^
main.cpp:9:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nasa.out","w",stdout);
^
main.cpp:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 34ms | 5373kb | OK | 5 |
| 6 | 34ms | 5242kb | OK | 5 |
| 7 | 34ms | 5373kb | OK | 5 |
| 8 | 34ms | 5242kb | OK | 5 |
| 9 | 34ms | 5242kb | OK | 5 |
| 10 | 34ms | 5373kb | OK | 5 |
| 11 | 34ms | 5373kb | OK | 5 |
| 12 | 34ms | 5373kb | OK | 5 |
| 13 | 70ms | 20111kb | Memory limit exceeded | 0 |
| 14 | 56ms | 20111kb | Memory limit exceeded | 0 |
| 15 | 69ms | 20111kb | Memory limit exceeded | 0 |
| 16 | 66ms | 20111kb | Memory limit exceeded | 0 |
| 17 | 70ms | 20111kb | Memory limit exceeded | 0 |
| 18 | 56ms | 20111kb | Memory limit exceeded | 0 |
| 19 | 71ms | 20111kb | Memory limit exceeded | 0 |
| 20 | 55ms | 20111kb | Memory limit exceeded | 0 |
| Punctaj total | 60 |