Pagini recente » Borderou de evaluare (job #1746144) | Borderou de evaluare (job #2814500) | Borderou de evaluare (job #1456197) | Borderou de evaluare (job #1338650) | Borderou de evaluare (job #2293147)
Borderou de evaluare (job #2293147)
Raport evaluator
Compilare:
main.cpp: In function 'void ssm(int)':
main.cpp:18:12: warning: unused variable 'p1' [-Wunused-variable]
int i, p1,p,p2;
^~
main.cpp:18:15: warning: unused variable 'p' [-Wunused-variable]
int i, p1,p,p2;
^
main.cpp:18:17: warning: unused variable 'p2' [-Wunused-variable]
int i, p1,p,p2;
^~
main.cpp: In function 'int main()':
main.cpp:53:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",Smax);
^
main.cpp:42:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("carnati.in","r",stdin);
^
main.cpp:43:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("carnati.out","w",stdout);
^
main.cpp:44:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&c);
^
main.cpp:47:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].ora,&v[i].pt);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 10ms | 131kb | Incorect | 0 |
6 | 10ms | 131kb | Incorect | 0 |
7 | 11ms | 131kb | Incorect | 0 |
8 | 35ms | 131kb | Incorect | 0 |
9 | 35ms | 131kb | Incorect | 0 |
10 | 35ms | 131kb | Incorect | 0 |
Punctaj total | 10 |