Pagini recente » Borderou de evaluare (job #1267982) | Borderou de evaluare (job #1244114) | Borderou de evaluare (job #2004651) | Borderou de evaluare (job #1027993) | Borderou de evaluare (job #2219105)
Borderou de evaluare (job #2219105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:27:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", s);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.in", "r", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasic.out", "w", stdout);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2484ms | 1316kb | Incorect | 0 |
Punctaj total | 0 |