Pagini recente » Borderou de evaluare (job #94234) | Borderou de evaluare (job #2363678) | Borderou de evaluare (job #515794) | Borderou de evaluare (job #818008) | Borderou de evaluare (job #1701316)
Borderou de evaluare (job #1701316)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19: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:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N;i++)
^
user.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N&&P<N;i++)
^
user.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i].x>P)
^
user.cpp:29:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i].y==cost&&v[i].x<=P+K&&i<=N)
^
user.cpp:29:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i].y==cost&&v[i].x<=P+K&&i<=N)
^
user.cpp:39:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d",S);
^
user.cpp:16: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:17: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:19: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:21: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 | 256kb | Bah, i-ai mancat inghetata fetei! | 0 |
2 | 0ms | 264kb | 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 | 260kb | Bah, i-ai mancat inghetata fetei! | 0 |
8 | 0ms | 264kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 0ms | 264kb | Bah, i-ai mancat inghetata fetei! | 0 |
10 | 0ms | 252kb | Bun asa... | 10 |
Punctaj total | 10 |