Pagini recente » Borderou de evaluare (job #2566862) | Borderou de evaluare (job #1145544) | Borderou de evaluare (job #1995631) | Borderou de evaluare (job #2199131) | Borderou de evaluare (job #2456491)
Borderou de evaluare (job #2456491)
Raport evaluator
Compilare:
main.cpp: In function 'int cmmdc(long int&, long int&)':
main.cpp:14:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while (r = a % b)
^
main.cpp: In function 'int main()':
main.cpp:32:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(fin, "%d %d", &a, &b);
^
main.cpp:32:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:28:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &T);
^
main.cpp:32:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%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 | 34ms | 262kb | OK | 10 | 10 |
5 | 50ms | 262kb | OK | 10 | 10 |
6 | 65ms | 393kb | OK | 10 | 10 |
7 | 80ms | 393kb | OK | 10 | 40 |
8 | 96ms | 524kb | OK | 10 |
9 | 98ms | 262kb | OK | 10 |
10 | 145ms | 655kb | OK | 10 |
Punctaj total | 100 |