Pagini recente » Borderou de evaluare (job #407402) | Borderou de evaluare (job #2133765) | Borderou de evaluare (job #633014) | Borderou de evaluare (job #1043546) | Borderou de evaluare (job #1324218)
Borderou de evaluare (job #1324218)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:47:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&procese[i].t,&procese[i].p);
^
user.cpp:47:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:77:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=v.size(); i++)
^
user.cpp:80:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",pena);
^
user.cpp:39:18: warning: unused variable ‘j’ [-Wunused-variable]
long int n,i,j,m;
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procesor.in","r",stdin);
^
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procesor.out","w",stdout);
^
user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&procese[i].t,&procese[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 292kb | Incorect | 0 |
6 | 8ms | 540kb | Incorect | 0 |
7 | 36ms | 1112kb | Incorect | 0 |
8 | 64ms | 1884kb | Incorect | 0 |
9 | 100ms | 1856kb | Incorect | 0 |
10 | 136ms | 3000kb | Incorect | 0 |
Punctaj total | 20 |