Pagini recente » Borderou de evaluare (job #1266463) | Borderou de evaluare (job #2789713) | Borderou de evaluare (job #1031797) | Borderou de evaluare (job #62253) | Borderou de evaluare (job #1701134)
Borderou de evaluare (job #1701134)
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 | 280kb | Bun asa... | 10 |
2 | 0ms | 276kb | Bun asa... | 10 |
3 | 0ms | 292kb | Bun asa... | 10 |
4 | 0ms | 296kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 292kb | Bun asa... | 10 |
6 | 0ms | 316kb | Bah, i-ai mancat inghetata fetei! | 0 |
7 | 0ms | 324kb | Bun asa... | 10 |
8 | 4ms | 340kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 4ms | 356kb | Bah, i-ai mancat inghetata fetei! | 0 |
10 | 0ms | 280kb | Bun asa... | 10 |
Punctaj total | 60 |