Pagini recente » Borderou de evaluare (job #892189) | Borderou de evaluare (job #2815437) | Borderou de evaluare (job #882727) | Borderou de evaluare (job #683416) | Borderou de evaluare (job #1701130)
Borderou de evaluare (job #1701130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45: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:45:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:45:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=M;i++)
^
user.cpp:52:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p>P)
^
user.cpp:63:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d",S);
^
user.cpp:42: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:43: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:45: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:47: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 | 272kb | Bun asa... | 10 |
2 | 0ms | 280kb | Bun asa... | 10 |
3 | 0ms | 288kb | Bun asa... | 10 |
4 | 0ms | 296kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 284kb | Bun asa... | 10 |
6 | 0ms | 312kb | Bun asa... | 10 |
7 | 0ms | 328kb | Bun asa... | 10 |
8 | 4ms | 344kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 4ms | 356kb | Bun asa... | 10 |
10 | 0ms | 280kb | Bun asa... | 10 |
Punctaj total | 80 |