Pagini recente » Cod sursa (job #455383) | Borderou de evaluare (job #1070983) | Borderou de evaluare (job #2071322) | Borderou de evaluare (job #1049170) | Borderou de evaluare (job #1601662)
Borderou de evaluare (job #1601662)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld", &b, &pw);
^
user.cpp:17:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in","rt",stdin);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out","wt",stdout);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &b, &pw);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 428kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 0ms | 424kb | OK | 10 |
6 | 0ms | 432kb | OK | 10 |
7 | 0ms | 432kb | OK | 10 |
8 | 0ms | 432kb | OK | 10 |
9 | 0ms | 424kb | OK | 10 |
10 | 0ms | 432kb | OK | 10 |
Punctaj total | 100 |