Pagini recente » Borderou de evaluare (job #2627353) | Borderou de evaluare (job #1619067) | Borderou de evaluare (job #734620) | Borderou de evaluare (job #2943961) | Borderou de evaluare (job #1312973)
Borderou de evaluare (job #1312973)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", gcd(n, m) % p - 1);
^
user.cpp:37:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcd.in", "r", stdin);
^
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcd.out", "w", stdout);
^
user.cpp:40:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:43:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld", &n, &m, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | Incorect | 0 | 0 |
2 | 0ms | 236kb | Killed by signal 8(SIGFPE). | 0 | 0 |
3 | 0ms | 244kb | Killed by signal 8(SIGFPE). | 0 |
4 | 0ms | 236kb | Killed by signal 8(SIGFPE). | 0 |
5 | 0ms | 244kb | Killed by signal 8(SIGFPE). | 0 |
Punctaj total | 0 |