Pagini recente » Borderou de evaluare (job #1213148) | Borderou de evaluare (job #489697) | Borderou de evaluare (job #2520289) | Borderou de evaluare (job #154933) | Borderou de evaluare (job #1312630)
Borderou de evaluare (job #1312630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", pw(2,x)-1);
^
user.cpp:32:34: 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:33:36: 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:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:38:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &m, &MOD);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 20 | 20 |
2 | 212ms | 256kb | OK | 20 | 80 |
3 | 228ms | 252kb | OK | 20 |
4 | 252ms | 256kb | OK | 20 |
5 | 268ms | 260kb | OK | 20 |
Punctaj total | 100 |