Pagini recente » Borderou de evaluare (job #218383) | Borderou de evaluare (job #966184) | Cod sursa (job #2232903) | Borderou de evaluare (job #1086899) | Borderou de evaluare (job #2331142)
Borderou de evaluare (job #2331142)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d %d %d",stot-smin,dr+1,n-(dr-st+1));
^
main.cpp:10:11: warning: unused variable 'p' [-Wunused-variable]
int n,p,smin,sc,ic,st,dr,col,i;
^
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.in","r",stdin);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.out","w",stdout);
^
main.cpp:12:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:14:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x[i],&col);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 5ms | 131kb | OK! | 10 |
4 | 10ms | 131kb | OK! | 10 |
5 | 18ms | 262kb | OK! | 10 |
6 | 36ms | 393kb | OK! | 10 |
7 | 52ms | 524kb | OK! | 10 |
8 | 79ms | 655kb | Suma gresita! | 0 |
9 | 92ms | 786kb | Suma gresita! | 0 |
10 | 82ms | 917kb | OK! | 10 |
Punctaj total | 80 |