Pagini recente » Borderou de evaluare (job #339471) | Borderou de evaluare (job #520578) | Borderou de evaluare (job #2558699) | Borderou de evaluare (job #92182) | Borderou de evaluare (job #2349943)
Borderou de evaluare (job #2349943)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::stack<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d",sti.size());
^
main.cpp:28:20: warning: unused variable 'vf' [-Wunused-variable]
int n,m,i,j,nr,vf=1;
^~
main.cpp:26:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in","r",stdin);
^
main.cpp:27:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out","w",stdout);
^
main.cpp:29:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:32:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:35:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 262ms | 12582kb | OK | 10 |
4 | 125ms | 12845kb | OK | 10 |
5 | 166ms | 12713kb | OK | 10 |
6 | 122ms | 11796kb | OK | 10 |
7 | 362ms | 12582kb | OK | 10 |
8 | 242ms | 12845kb | OK | 10 |
9 | 202ms | 12713kb | OK | 10 |
10 | 17ms | 1441kb | OK | 10 |
Punctaj total | 100 |