Pagini recente » Borderou de evaluare (job #285148) | Borderou de evaluare (job #888759) | Borderou de evaluare (job #260637) | Borderou de evaluare (job #523220) | Borderou de evaluare (job #1502256)
Borderou de evaluare (job #1502256)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int doit(long long int, long long int)’:
user.cpp:8:36: warning: value computed is not used [-Wunused-value]
if (p < 0) doit(1/n, p * (-1)) % C;
^
user.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("modulo.in","r",stdin);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("modulo.out","w",stdout);
^
user.cpp:21:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &A, &B, &C);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 268kb | OK | 10 |
9 | 0ms | 264kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |