Pagini recente » Borderou de evaluare (job #2690379) | Borderou de evaluare (job #1972821) | Borderou de evaluare (job #3204190) | Borderou de evaluare (job #2109254) | Borderou de evaluare (job #1701160)
Borderou de evaluare (job #1701160)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d%d",&N,&M,&K);
^
user.cpp:62:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:62:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:63:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=M;i++)
^
user.cpp:70:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p<P+K)
^
user.cpp:72:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p>P)
^
user.cpp:83:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d",S);
^
user.cpp:59:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("timbre.in","r",stdin);
^
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("timbre.out","w",stdout);
^
user.cpp:62:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&M,&K);
^
user.cpp:64:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].end,&v[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Bun asa... | 10 |
2 | 0ms | 280kb | Bun asa... | 10 |
3 | 0ms | 292kb | Bun asa... | 10 |
4 | 0ms | 300kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 284kb | Bun asa... | 10 |
6 | 0ms | 316kb | Bun asa... | 10 |
7 | 0ms | 328kb | Bun asa... | 10 |
8 | 4ms | 348kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 4ms | 356kb | Bun asa... | 10 |
10 | 0ms | 280kb | Bun asa... | 10 |
Punctaj total | 80 |