Pagini recente » Borderou de evaluare (job #658470) | Borderou de evaluare (job #1931013) | Borderou de evaluare (job #2109744) | Borderou de evaluare (job #1335096) | Borderou de evaluare (job #1701330)
Borderou de evaluare (job #1701330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d%d",&N,&K,&M);
^
user.cpp:25:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:25:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:26:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N;i++)
^
user.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N&&P<N;i++)
^
user.cpp:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i].x>P)
^
user.cpp:35:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i].y==cost&&i<=N)
^
user.cpp:37:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i].y>P+K)
^
user.cpp:46:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d",S);
^
user.cpp:22:36: 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:23:38: 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:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&K,&M);
^
user.cpp:27:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Bah, i-ai mancat inghetata fetei! | 0 |
2 | 4ms | 268kb | Bah, i-ai mancat inghetata fetei! | 0 |
3 | 0ms | 264kb | Bah, i-ai mancat inghetata fetei! | 0 |
4 | 0ms | 256kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 260kb | Bah, i-ai mancat inghetata fetei! | 0 |
6 | 0ms | 264kb | Bah, i-ai mancat inghetata fetei! | 0 |
7 | 0ms | 264kb | Bah, i-ai mancat inghetata fetei! | 0 |
8 | 0ms | 268kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 0ms | 260kb | Bah, i-ai mancat inghetata fetei! | 0 |
10 | 0ms | 256kb | Bah, i-ai mancat inghetata fetei! | 0 |
Punctaj total | 0 |