Pagini recente » Borderou de evaluare (job #1527517) | Borderou de evaluare (job #1141887) | Borderou de evaluare (job #1037026) | Borderou de evaluare (job #2120870) | Borderou de evaluare (job #2587448)
Borderou de evaluare (job #2587448)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.in","r",stdin);
^
main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.out","w",stdout);
^
main.cpp:11:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(stdin,"%lld %d",&n,&p);
^
main.cpp:18:16: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
rest[i]=i%p;
~~~~~~~^~~~
main.cpp:17:18: note: within this loop
for(int i=1;i<=300;++i) {
~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 30ms | 131kb | Incorect | 0 |
2 | 42ms | 131kb | Incorect | 0 |
3 | 42ms | 262kb | Incorect | 0 |
4 | 86ms | 6684kb | Incorect | 0 |
5 | 58ms | 917kb | Incorect | 0 |
6 | 517ms | 52498kb | Incorect | 0 |
7 | 477ms | 52690kb | Incorect | 0 |
8 | 568ms | 52559kb | Incorect | 0 |
9 | 523ms | 52559kb | Incorect | 0 |
10 | 510ms | 52559kb | Incorect | 0 |
Punctaj total | 0 |