Pagini recente » Borderou de evaluare (job #550439) | Borderou de evaluare (job #601365) | Borderou de evaluare (job #2755670) | Borderou de evaluare (job #619515) | Borderou de evaluare (job #2372496)
Borderou de evaluare (job #2372496)
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:10:21: warning: unused variable 'k' [-Wunused-variable]
int i,j,a,b,con,k,tot,ctot,cb,aa;
^
main.cpp:10:27: warning: unused variable 'ctot' [-Wunused-variable]
int i,j,a,b,con,k,tot,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:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&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 | 26ms | 5373kb | Killed by Signal 11 | 0 |
6 | 24ms | 5242kb | Killed by Signal 11 | 0 |
7 | 26ms | 5373kb | Killed by Signal 11 | 0 |
8 | 24ms | 5242kb | Killed by Signal 11 | 0 |
9 | 34ms | 5242kb | OK | 5 |
10 | 26ms | 5373kb | Killed by Signal 11 | 0 |
11 | 26ms | 5373kb | Killed by Signal 11 | 0 |
12 | 24ms | 5373kb | Killed by Signal 11 | 0 |
13 | 40ms | 20111kb | Memory limit exceeded | 0 |
14 | 41ms | 20111kb | Memory limit exceeded | 0 |
15 | 41ms | 20111kb | Memory limit exceeded | 0 |
16 | 41ms | 20111kb | Memory limit exceeded | 0 |
17 | 41ms | 20111kb | Memory limit exceeded | 0 |
18 | 41ms | 20111kb | Memory limit exceeded | 0 |
19 | 33ms | 20111kb | Memory limit exceeded | 0 |
20 | 33ms | 20111kb | Memory limit exceeded | 0 |
Punctaj total | 25 |