Pagini recente » Borderou de evaluare (job #523500) | Borderou de evaluare (job #3128058) | Borderou de evaluare (job #1409016) | Borderou de evaluare (job #1984515) | Borderou de evaluare (job #2412447)
Borderou de evaluare (job #2412447)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long unsigned int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:23:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%d %d", &a, &b);
^
main.cpp:23:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
main.cpp:25:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%d\n", cmmdc(a,b));
^
main.cpp:18:38: 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);
^
main.cpp:19:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.out", "w", stdout);
^
main.cpp:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:23:31: 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 | 3ms | 131kb | OK | 10 | 20 |
3 | 3ms | 131kb | OK | 10 |
4 | 34ms | 262kb | OK | 10 | 10 |
5 | 49ms | 262kb | OK | 10 | 10 |
6 | 65ms | 393kb | OK | 10 | 10 |
7 | 81ms | 393kb | OK | 10 | 40 |
8 | 96ms | 524kb | OK | 10 |
9 | 88ms | 262kb | OK | 10 |
10 | 158ms | 786kb | OK | 10 |
Punctaj total | 100 |