Pagini recente » Borderou de evaluare (job #2642073) | Borderou de evaluare (job #1899619) | Borderou de evaluare (job #2544213) | Borderou de evaluare (job #1319615) | Borderou de evaluare (job #2464700)
Borderou de evaluare (job #2464700)
Raport evaluator
Compilare:
main.cpp: In function 'int gcd(int, int)':
main.cpp:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(x==y)
^~
main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(x>y)
^~
main.cpp: In function 'int main()':
main.cpp:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int j = 2*i; j <= n; j += i)
^~~
main.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;i++)
^~~
main.cpp:36:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Ok! | 10 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 131kb | Killed by Signal 11 | 0 |
6 | 3ms | 131kb | Killed by Signal 11 | 0 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 3ms | 131kb | Killed by Signal 11 | 0 |
9 | 4ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 10 |