Pagini recente » Borderou de evaluare (job #527964) | Borderou de evaluare (job #24468) | Borderou de evaluare (job #1955046) | Borderou de evaluare (job #875270) | Borderou de evaluare (job #2063740)
Borderou de evaluare (job #2063740)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("\n%d", &ok[1]);
^
user.cpp:79:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf(" %d", &ok[i]);
^
user.cpp:74:13: warning: unused variable ‘v’ [-Wunused-variable]
int v;
^
user.cpp: In function ‘int caut(int, int, int)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:69:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.in","r",stdin);
^
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.out","w",stdout);
^
user.cpp:71:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d", &n,&val[1]);
^
user.cpp:73:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &val[i]);
^
user.cpp:75:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n%d", &ok[1]);
^
user.cpp:79:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &ok[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK! | 10 |
2 | 0ms | 448kb | OK! | 10 |
3 | 96ms | 1836kb | OK! | 10 |
4 | 68ms | 1308kb | OK! | 10 |
5 | 72ms | 1476kb | OK! | 10 |
6 | 4ms | 544kb | OK! | 10 |
7 | 72ms | 1516kb | OK! | 10 |
8 | 80ms | 1572kb | OK! | 10 |
9 | 0ms | 516kb | OK! | 10 |
10 | 112ms | 2364kb | OK! | 10 |
Punctaj total | 100 |