Pagini recente » Borderou de evaluare (job #2769785) | Borderou de evaluare (job #2755646) | Borderou de evaluare (job #751458) | Borderou de evaluare (job #1201393) | Borderou de evaluare (job #2356671)
Borderou de evaluare (job #2356671)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(e)
^~
main.cpp:24:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(k==0)
^~
main.cpp:7:20: warning: unused variable 'd' [-Wunused-variable]
int p,n,k,nr,i,d,e;
^
main.cpp:7:22: warning: unused variable 'e' [-Wunused-variable]
int p,n,k,nr,i,d,e;
^
main.cpp:5:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cufar.in","r",stdin);
^
main.cpp:6:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cufar.out","w",stdout);
^
main.cpp:9:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&n);
^
main.cpp:12:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&nr,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 2 |
2 | 2ms | 131kb | Corect | 8 |
3 | 2ms | 131kb | Corect | 4 |
4 | 2ms | 131kb | Corect | 4 |
5 | 2ms | 131kb | Corect | 5 |
6 | 2ms | 131kb | Corect | 5 |
7 | 2ms | 131kb | Corect | 3 |
8 | 2ms | 131kb | Corect | 3 |
9 | 3ms | 131kb | Corect | 3 |
10 | 3ms | 131kb | Corect | 3 |
11 | 9ms | 131kb | Corect | 3 |
12 | 34ms | 131kb | Corect | 3 |
13 | 97ms | 131kb | Corect | 4 |
14 | 211ms | 131kb | Corect | 4 |
15 | 547ms | 131kb | Rapuns gresit | 0 |
16 | 1200ms | 131kb | Rapuns gresit | 0 |
17 | 1503ms | 131kb | Time limit exceeded | 0 |
18 | 1503ms | 131kb | Time limit exceeded | 0 |
19 | 1503ms | 131kb | Time limit exceeded | 0 |
20 | 1503ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 54 |