Pagini recente » Borderou de evaluare (job #1272872) | Borderou de evaluare (job #2930489) | Borderou de evaluare (job #1038282) | Borderou de evaluare (job #964907) | Borderou de evaluare (job #1486804)
Borderou de evaluare (job #1486804)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d %d",&pp[i].tip,&pp[i].st,&pp[i].dr);
^
user.cpp:50:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in","r",stdin);
^
user.cpp:51:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out","w",stdout);
^
user.cpp:52:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&b,&mod); putb[0]=1;
^
user.cpp:54:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&t[i]);
^
user.cpp:55:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:57:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&pp[i].tip,&pp[i].st,&pp[i].dr);
^
user.cpp: In function ‘pr cauta(std::vector<std::pair<int, int> >&, int)’:
user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 3224kb | OK | 10 | 0 |
2 | 4ms | 3220kb | OK | 10 |
3 | 4ms | 3276kb | OK | 10 |
4 | 24ms | 3816kb | OK | 10 |
5 | 68ms | 4604kb | OK | 10 |
6 | 396ms | 9936kb | OK | 10 |
7 | 388ms | 9948kb | OK | 10 |
8 | 320ms | Depăşit | Memory limit exceeded. | 0 |
9 | 312ms | Depăşit | Memory limit exceeded. | 0 |
10 | 320ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |