Pagini recente » Cod sursa (job #624050) | Cod sursa (job #2122474) | Cod sursa (job #1406274) | Cod sursa (job #2935465) | Borderou de evaluare (job #1702912)
Borderou de evaluare (job #1702912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&N,&M,&K);
^
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:47:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&v[i].end,&v[i].val);
^
user.cpp:47:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:42:35: 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:37: 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:29: 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:42: 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 | 292kb | Bun asa... | 10 |
4 | 0ms | 308kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 296kb | Bun asa... | 10 |
6 | 0ms | 336kb | Bun asa... | 10 |
7 | 0ms | 372kb | Bun asa... | 10 |
8 | 4ms | 408kb | Bah, i-ai mancat inghetata fetei! | 0 |
9 | 4ms | 424kb | Bun asa... | 10 |
10 | 0ms | 272kb | Bun asa... | 10 |
Punctaj total | 80 |