Pagini recente » Borderou de evaluare (job #2358789) | Borderou de evaluare (job #1379039) | Borderou de evaluare (job #511483) | Borderou de evaluare (job #1773766) | Borderou de evaluare (job #1639749)
Borderou de evaluare (job #1639749)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:18: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c",&x);
^
user.cpp:41:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
{scanf("%c%c",&op,&x);
^
user.cpp:42:36: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
if(op=='L'){scanf("%d%c",&p,&x);
^
user.cpp:62:41: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
else if(op=='C'){scanf("%d%c",&p,&x);
^
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("amedie.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amedie.out","w",stdout);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&q);
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[ct].v);
^
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%c%c",&op,&x);
^
user.cpp:42:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(op=='L'){scanf("%d%c",&p,&x);
^
user.cpp:62:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(op=='C'){scanf("%d%c",&p,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 4ms | 464kb | OK | 10 |
5 | 44ms | 2028kb | OK | 10 |
6 | 444ms | 9844kb | OK | 10 |
7 | Depăşit | 11264kb | Time limit exceeded. | 0 |
8 | Depăşit | 12760kb | Time limit exceeded. | 0 |
9 | Depăşit | 12752kb | Time limit exceeded. | 0 |
10 | Depăşit | 12760kb | Time limit exceeded. | 0 |
Punctaj total | 60 |