Borderou de evaluare (job #2372416)

Utilizator dianaICHBghita diana dianaICHB Data 7 martie 2019 09:12:31
Problema Nasa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (i!=2) ^~ main.cpp:27: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:31: warning: unused variable 'k' [-Wunused-variable] long long int i,j,a,b,con,k,tot,ctot,cb,aa; ^ main.cpp:10:37: warning: unused variable 'ctot' [-Wunused-variable] long long 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: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
12ms131kbOK5
23ms393kbOK5
33ms393kbOK5
43ms393kbOK5
536ms20111kbMemory limit exceeded0
633ms20111kbMemory limit exceeded0
741ms20111kbMemory limit exceeded0
833ms20111kbMemory limit exceeded0
936ms20111kbMemory limit exceeded0
1033ms20111kbMemory limit exceeded0
1133ms20111kbMemory limit exceeded0
1233ms20111kbMemory limit exceeded0
1333ms20111kbMemory limit exceeded0
1436ms20111kbMemory limit exceeded0
1533ms20111kbMemory limit exceeded0
1636ms20111kbMemory limit exceeded0
1733ms20111kbMemory limit exceeded0
1833ms20111kbMemory limit exceeded0
1933ms20111kbMemory limit exceeded0
2033ms20111kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?