Pagini recente » Borderou de evaluare (job #1748061) | Borderou de evaluare (job #2759919) | Borderou de evaluare (job #1821498) | Borderou de evaluare (job #2127020) | Borderou de evaluare (job #2759745)
Borderou de evaluare (job #2759745)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(;r=a%b;a=b,b=r);
^
main.cpp:5:85: 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),scanf("%d",&t);
^
main.cpp:5:85: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:5:85: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:8:28: 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 |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 20 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 31ms | 262kb | OK | 10 | 10 |
| 5 | 47ms | 262kb | OK | 10 | 10 |
| 6 | 61ms | 393kb | OK | 10 | 10 |
| 7 | 74ms | 393kb | OK | 10 | 40 |
| 8 | 90ms | 524kb | OK | 10 |
| 9 | 89ms | 262kb | OK | 10 |
| 10 | 146ms | 655kb | OK | 10 |
| Punctaj total | 100 |