Pagini recente » Borderou de evaluare (job #3347083) | Borderou de evaluare (job #3024045) | Borderou de evaluare (job #2568634) | Borderou de evaluare (job #955012) | Borderou de evaluare (job #2328279)
Borderou de evaluare (job #2328279)
Raport evaluator
Compilare:
main.cpp:11:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
main.cpp: In function 'int main()':
main.cpp:18:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(a=A(),b=A();r=a%b;a=b,b=r);
^
main.cpp:18:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(a=A(),b=A();r=a%b;a=b,b=r);
^~~
main.cpp:19:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j=0;b;b/=10,j++)
^~~
main.cpp:14:91: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in","r",stdin),freopen("euclid2.out","w",stdout),fgets(q,23,stdin),t=A();
^
main.cpp:14:91: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:14:91: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:17:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(q,23,stdin),i=-1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 20 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 15ms | 393kb | OK | 10 | 10 |
| 5 | 21ms | 524kb | OK | 10 | 10 |
| 6 | 27ms | 655kb | OK | 10 | 10 |
| 7 | 34ms | 655kb | OK | 10 | 40 |
| 8 | 40ms | 786kb | OK | 10 |
| 9 | 39ms | 393kb | OK | 10 |
| 10 | 66ms | 1310kb | OK | 10 |
| Punctaj total | 100 |