Pagini recente » Borderou de evaluare (job #309431) | Borderou de evaluare (job #1680734) | Borderou de evaluare (job #2587735) | Borderou de evaluare (job #2286851) | Borderou de evaluare (job #1219019)
Borderou de evaluare (job #1219019)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<strlen(s);i++) {
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.out","w",stdout);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);x=y=1;
^
user.cpp:25:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);NR=0;
^
user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 4ms | 328kb | OK | 10 |
7 | 20ms | 356kb | OK | 10 |
8 | 4ms | 348kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 28ms | 352kb | OK | 10 |
Punctaj total | 100 |