Pagini recente » Cod sursa (job #1373905) | Borderou de evaluare (job #1331704)
Borderou de evaluare (job #1331704)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int Dynamic(int, int)’:
user.cpp:81:9: warning: unused variable ‘pd’ [-Wunused-variable]
int pd = 0; /// nivelul din paranteza
^
user.cpp: In function ‘void Read()’:
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",c+1);
^
user.cpp: In function ‘int main()’:
user.cpp:123:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.in","r",stdin);
^
user.cpp:124:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.out","w",stdout);
^
user.cpp:127:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nrT);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 100 |
Punctaj total | 100 |